diff src/main.h @ 90:efab68769c75

Implement new separate About dialog/help window.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Jun 2017 12:47:57 +0300
parents c8fd927cd2c4
children 6d02b4ae936c
line wrap: on
line diff
--- a/src/main.h	Thu Jun 08 10:39:21 2017 +0300
+++ b/src/main.h	Thu Jun 08 12:47:57 2017 +0300
@@ -97,6 +97,7 @@
 namespace Ui {
 class SyntilistaMainWindow;
 class EditPerson;
+class AboutWindow;
 }
 
 class SyntilistaMainWindow : public QMainWindow
@@ -128,7 +129,6 @@
 
     void on_button_Quit_clicked();
     void on_button_About_clicked();
-    void on_button_Help_clicked();
 
     void on_button_AddDebt_clicked();
     void on_button_PayDebt_clicked();
@@ -194,4 +194,24 @@
     TransactionSQLModel *model_Transactions;
 };
 
+
+//
+// About dialog
+//
+class AboutWindow : public QDialog
+{
+    Q_OBJECT
+
+public:
+    explicit AboutWindow(QWidget *parent = 0);
+    ~AboutWindow();
+
+private slots:
+    void on_button_Close_clicked();
+
+private:
+    Ui::AboutWindow *ui;
+};
+
+
 #endif // SYNTILISTA_H