diff ui/administratorwindow.h @ 336:26817025351f

merge
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 09 Apr 2014 13:49:59 +0000
parents 811eec4e1b99
children e3d6de930c90
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/administratorwindow.h	Wed Apr 09 13:49:59 2014 +0000
@@ -0,0 +1,47 @@
+#ifndef ADMINSTRATORWINDOW_H
+#define ADMINSTRATORWINDOW_H
+
+/**
+ * @file administratorwindow.h
+ * @brief Administrator UI controller
+ */
+
+#include <QMainWindow>
+#include <QSettings>
+#include <QMenuBar>
+#include <QTableView>
+#include <QPushButton>
+
+class QMenu;
+class QAction;
+
+class AdministratorWindow : public QMainWindow
+{
+    Q_OBJECT
+
+public:
+    AdministratorWindow();
+
+private slots:
+    void createInstaller();
+    void showSettings();
+    void showHelp();
+    void showAbout();
+
+private:
+    void createActions();
+    void createMenuBar();
+    void createContent();
+
+    QSettings settings;
+
+    QMenuBar *menuBar;
+
+    QTableView *certificateView;
+    QPushButton *saveButton;
+    QPushButton *loadButton;
+    QPushButton *addButton;
+    QPushButton *removeButton;
+};
+
+#endif // ADMINSTRATORWINDOW_H

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