changeset 190:1a66a15d0df8

Added stub for help dialog.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 26 Mar 2014 11:46:42 +0100
parents 5f0d45ca9de4
children 246c21b1727f
files ui/CMakeLists.txt ui/helpdialog.cpp ui/helpdialog.h
diffstat 3 files changed, 35 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/CMakeLists.txt	Wed Mar 26 11:44:16 2014 +0100
+++ b/ui/CMakeLists.txt	Wed Mar 26 11:46:42 2014 +0100
@@ -16,6 +16,7 @@
     ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.cpp
     ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
     ${CMAKE_CURRENT_SOURCE_DIR}/listupdatedialog.cpp
+    ${CMAKE_CURRENT_SOURCE_DIR}/helpdialog.cpp
     ${CERTIFICATELIST_SOURCES}
     ${DOWNLOADER_SOURCES}
 )
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/helpdialog.cpp	Wed Mar 26 11:46:42 2014 +0100
@@ -0,0 +1,13 @@
+#include "helpdialog.h"
+#include <QDebug>
+
+HelpDialog::HelpDialog(QMainWindow *parent) :
+    QDialog(parent)
+{
+    setupGUI();
+}
+
+void HelpDialog::setupGUI()
+{
+    
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/helpdialog.h	Wed Mar 26 11:46:42 2014 +0100
@@ -0,0 +1,21 @@
+#ifndef HELPDIALOG_H
+#define HELPDIALOG_H
+
+#include <QDialog>
+#include <QMainWindow>
+/**
+ * @file helpdialog.h
+ * @brief The dialog for help text.
+ */
+
+class HelpDialog : public QDialog
+{
+public:
+    /** @brief Create a help dialog */
+    HelpDialog(QMainWindow *parent);
+
+private:
+    void setupGUI();
+
+};
+#endif // HELPDIALOG_H

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