Mercurial > trustbridge
comparison ui/administratorwindow.h @ 333:de94c4ec22b1
Renamed management to administrator application.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 09 Apr 2014 12:41:07 +0200 |
parents | |
children | 811eec4e1b99 |
comparison
equal
deleted
inserted
replaced
331:455d6d00e896 | 333:de94c4ec22b1 |
---|---|
1 #ifndef ADMINSTRATORWINDOW_H | |
2 #define ADMINSTRATORWINDOW_H | |
3 | |
4 /** | |
5 * @file administratorwindow.h | |
6 * @brief Administrator UI controller | |
7 */ | |
8 | |
9 #include <QMainWindow> | |
10 #include <QSettings> | |
11 #include <QMenuBar> | |
12 #include <QListWidget> | |
13 #include <QPushButton> | |
14 | |
15 class QMenu; | |
16 class QAction; | |
17 | |
18 class AdministratorWindow : public QMainWindow | |
19 { | |
20 Q_OBJECT | |
21 | |
22 public: | |
23 AdministratorWindow(); | |
24 | |
25 private slots: | |
26 void createInstaller(); | |
27 void showSettings(); | |
28 void showHelp(); | |
29 void showAbout(); | |
30 | |
31 private: | |
32 void createActions(); | |
33 void createMenuBar(); | |
34 void createContent(); | |
35 | |
36 QSettings settings; | |
37 | |
38 QMenuBar *menuBar; | |
39 | |
40 QListWidget *certificateList; | |
41 QPushButton *saveButton; | |
42 QPushButton *loadButton; | |
43 QPushButton *addButton; | |
44 QPushButton *removeButton; | |
45 }; | |
46 | |
47 #endif // ADMINSTRATORWINDOW_H |