Mercurial > trustbridge
annotate ui/statusdialog.h @ 372:6cc124e79066
Add save/load unselected and add role enumerator
Explicitly naming the roles avoids confusion and makes
the code more readable
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 11:56:29 +0200 |
parents | be628d261617 |
children | 17e1c8f37d72 |
rev | line source |
---|---|
211
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
1 #ifndef STATUSDIALOG_H |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
2 #define STATUSDIALOG_H |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
3 |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
4 #include <QDialog> |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
5 #include <QMainWindow> |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
6 /** |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
7 * @file statusdialog.h |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
8 * @brief The dialog for certificate status. |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
9 */ |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
10 |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
11 class StatusDialog : public QDialog |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
12 { |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
13 public: |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
14 /** @brief Create a status dialog */ |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
15 StatusDialog(QMainWindow *parent); |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
16 |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
17 private: |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
18 void setupGUI(); |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
19 |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
20 }; |
be628d261617
Added new status dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
21 #endif // STATUSDIALOG_H |