blob: 8171d7347a58311ac4586da5836b18589190c8c8 (
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
33
34
35
36
37
38
39
|
#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 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
|