diff options
author | Louie S <louie@example.com> | 2024-02-16 18:32:53 -0500 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-02-16 18:32:53 -0500 |
commit | 7bbc2a93b6f123dfe8d2b97df8a4239032a6397b (patch) | |
tree | 73ebd2af83987c697ea81fd023465c0a53eafb6f /src/assignmentList.h |
First commit
Diffstat (limited to 'src/assignmentList.h')
-rw-r--r-- | src/assignmentList.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/assignmentList.h b/src/assignmentList.h new file mode 100644 index 0000000..d87397c --- /dev/null +++ b/src/assignmentList.h @@ -0,0 +1,41 @@ +#ifndef ASSIGNMENTLIST_H +#define ASSIGNMENTLIST_H + +#include <QMainWindow> +#include "ui_main.h" + +class AssignmentList : public QMainWindow { + Q_OBJECT + + public: + AssignmentList(); + + private: + Ui::MainWindow ui; + + void initializeUI(); + void createMenu(); + void createToolbar(); + void setupDB(); + void displayWidgets(); + void editGroup(int id); + void removeGroup(int id); + void groupContextMenu(int group_id); + void addEntry(int parent); // TODO figure out type for parameter + 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 |