comparison ui/managementwindow.h @ 327:3261b2a9cab7

Added a first version of the management application gui.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 08 Apr 2014 16:28:07 +0200
parents
children
comparison
equal deleted inserted replaced
326:ad28f6b60e6b 327:3261b2a9cab7
1 #ifndef MANAGEMENTWINDOW_H
2 #define MANAGEMENTWINDOW_H
3
4 /**
5 * @file managementwindow.h
6 * @brief Management 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 ManagementWindow : public QMainWindow
19 {
20 Q_OBJECT
21
22 public:
23 ManagementWindow();
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 // MANAGEMENTWINDOW_H

http://wald.intevation.org/projects/trustbridge/