diff options
Diffstat (limited to 'src/frontend/qtwidgets/assignmentList.h')
-rw-r--r-- | src/frontend/qtwidgets/assignmentList.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/frontend/qtwidgets/assignmentList.h b/src/frontend/qtwidgets/assignmentList.h new file mode 100644 index 0000000..4b792fa --- /dev/null +++ b/src/frontend/qtwidgets/assignmentList.h @@ -0,0 +1,43 @@ +#ifndef ASSIGNMENTLIST_H +#define ASSIGNMENTLIST_H + +#include <QMainWindow> +#include <QSettings> +#include <QVBoxLayout> + +#include "ui_assignmentList.h" + +class AssignmentList : public QMainWindow { + Q_OBJECT + + public: + QSettings configuration; + + AssignmentList(); + void initializeGlobals(); + void displayWidgets(); + + private: + Ui::MainWindow ui; + + void initializeSettings(); + void initializeUI(); + void displayDate(); + QVBoxLayout *drawEntries(int parent_id); + void editEntry(int id); + void toggleDoneEntry(int id); + void removeEntry(int id); + void editRules(int id); + void entryContextMenu(int entry_id); + void drawGroups(); + void drawEntries(); + + private slots: + void preferences(); + void reload(); + void addGroup(); + void cleanHidden(); + void aboutDialog(); +}; + +#endif |