diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/managementwindow.h	Tue Apr 08 16:28:07 2014 +0200
@@ -0,0 +1,47 @@
+#ifndef MANAGEMENTWINDOW_H
+#define MANAGEMENTWINDOW_H
+
+/**
+ * @file managementwindow.h
+ * @brief Management UI controller
+ */
+
+#include <QMainWindow>
+#include <QSettings>
+#include <QMenuBar>
+#include <QListWidget>
+#include <QPushButton>
+
+class QMenu;
+class QAction;
+
+class ManagementWindow : public QMainWindow
+{
+    Q_OBJECT
+
+public:
+    ManagementWindow();
+
+private slots:
+    void createInstaller();
+    void showSettings();
+    void showHelp();
+    void showAbout();
+
+private:
+    void createActions();
+    void createMenuBar();
+    void createContent();
+
+    QSettings settings;
+
+    QMenuBar *menuBar;
+
+    QListWidget *certificateList;
+    QPushButton *saveButton;
+    QPushButton *loadButton;
+    QPushButton *addButton;
+    QPushButton *removeButton;
+};
+
+#endif // MANAGEMENTWINDOW_H

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