summaryrefslogtreecommitdiff
path: root/src/group.h
blob: 370cbb25cf48bea5e4563d7e67715b865d0d3baa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef GROUP_H
#define GROUP_H

#include <QString>
#include <QVBoxLayout>

class Group : public QVBoxLayout {
	Q_OBJECT

	public:
		int id;
		QString name;
		QString column;
		QString link;
		bool hidden;

		Group(
				int id, 
				QString name, 
				QString column = "left", 
				QString link = "", 
				bool hidden = false
			 );

	private slots:
		void showContextMenu();
		void addEntry();
		void editGroup();
		void removeGroup();
};

#endif