Mercurial > trustbridge
annotate ui/managementwindow.h @ 331:455d6d00e896
Break long line of nsstest sources
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 08 Apr 2014 15:09:13 +0000 |
parents | 3261b2a9cab7 |
children |
rev | line source |
---|---|
327
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
1 #ifndef MANAGEMENTWINDOW_H |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
2 #define MANAGEMENTWINDOW_H |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
3 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
4 /** |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
5 * @file managementwindow.h |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
6 * @brief Management UI controller |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
7 */ |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
8 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
9 #include <QMainWindow> |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
10 #include <QSettings> |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
11 #include <QMenuBar> |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
12 #include <QListWidget> |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
13 #include <QPushButton> |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
14 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
15 class QMenu; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
16 class QAction; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
17 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
18 class ManagementWindow : public QMainWindow |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
19 { |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
20 Q_OBJECT |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
21 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
22 public: |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
23 ManagementWindow(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
24 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
25 private slots: |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
26 void createInstaller(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
27 void showSettings(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
28 void showHelp(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
29 void showAbout(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
30 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
31 private: |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
32 void createActions(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
33 void createMenuBar(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
34 void createContent(); |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
35 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
36 QSettings settings; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
37 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
38 QMenuBar *menuBar; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
39 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
40 QListWidget *certificateList; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
41 QPushButton *saveButton; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
42 QPushButton *loadButton; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
43 QPushButton *addButton; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
44 QPushButton *removeButton; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
45 }; |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
46 |
3261b2a9cab7
Added a first version of the management application gui.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
47 #endif // MANAGEMENTWINDOW_H |