-
Notifications
You must be signed in to change notification settings - Fork 0
/
impossiblelist.h
49 lines (37 loc) · 901 Bytes
/
impossiblelist.h
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
40
41
42
43
44
45
46
47
48
49
#ifndef IMPOSSIBLELIST_H
#define IMPOSSIBLELIST_H
#include <QWidget>
#include <QListWidget>
#include <QTabWidget>
#include <QDialog>
#include <QColor>
#include <QVBoxLayout>
#include "feature.h"
struct goal
{
QString description;
bool completed;
bool allSubGoalsDone;
bool focused;
bool isParent;
QVector<goal> subGoals;
};
class ImpossibleList : public Feature, public QWidget
{
public:
ImpossibleList(QWidget * parent);
void v_display(QTabWidget * tabWidget);
private:
QDialog * __completedGoalDialog;
QDialog * __historyDialog;
QString v_displayNewGoalDialog();
QVector<goal> __goals;
QListWidget * __goalsListWidget;
QLineEdit * __newGoalLineEdit;
private slots:
void focusButton_clicked();
void completeButton_clicked();
void subGoalsButton_clicked();
void newGoalButton_clicked();
};
#endif // IMPOSSIBLELIST_H