summaryrefslogtreecommitdiff
path: root/src/frontend/qtwidgets/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/qtwidgets/group.h')
-rw-r--r--src/frontend/qtwidgets/group.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/frontend/qtwidgets/group.h b/src/frontend/qtwidgets/group.h
new file mode 100644
index 0000000..9c7bfa4
--- /dev/null
+++ b/src/frontend/qtwidgets/group.h
@@ -0,0 +1,25 @@
+#ifndef GROUP_H
+#define GROUP_H
+
+#include <QString>
+
+struct Group {
+ enum Column { left, right };
+ int id;
+ QString name;
+ Column column;
+ QString link;
+ bool hidden;
+
+ Group(
+ int id,
+ QString name,
+ Column column = left,
+ QString link = "",
+ bool hidden = false
+ );
+
+ static QList<Group> groups;
+};
+
+#endif