Mercurial > hg > syntilista
comparison 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 |
comparison
equal
deleted
inserted
replaced
89:8ec1eb6b00b6 | 90:efab68769c75 |
---|---|
95 // Main window | 95 // Main window |
96 // | 96 // |
97 namespace Ui { | 97 namespace Ui { |
98 class SyntilistaMainWindow; | 98 class SyntilistaMainWindow; |
99 class EditPerson; | 99 class EditPerson; |
100 class AboutWindow; | |
100 } | 101 } |
101 | 102 |
102 class SyntilistaMainWindow : public QMainWindow | 103 class SyntilistaMainWindow : public QMainWindow |
103 { | 104 { |
104 Q_OBJECT | 105 Q_OBJECT |
126 void on_edit_PersonFilter_textChanged(const QString &arg1); | 127 void on_edit_PersonFilter_textChanged(const QString &arg1); |
127 void on_button_ClearFilter_clicked(); | 128 void on_button_ClearFilter_clicked(); |
128 | 129 |
129 void on_button_Quit_clicked(); | 130 void on_button_Quit_clicked(); |
130 void on_button_About_clicked(); | 131 void on_button_About_clicked(); |
131 void on_button_Help_clicked(); | |
132 | 132 |
133 void on_button_AddDebt_clicked(); | 133 void on_button_AddDebt_clicked(); |
134 void on_button_PayDebt_clicked(); | 134 void on_button_PayDebt_clicked(); |
135 void on_button_PayFullDebt_clicked(); | 135 void on_button_PayFullDebt_clicked(); |
136 | 136 |
192 | 192 |
193 PersonInfo selPerson; | 193 PersonInfo selPerson; |
194 TransactionSQLModel *model_Transactions; | 194 TransactionSQLModel *model_Transactions; |
195 }; | 195 }; |
196 | 196 |
197 | |
198 // | |
199 // About dialog | |
200 // | |
201 class AboutWindow : public QDialog | |
202 { | |
203 Q_OBJECT | |
204 | |
205 public: | |
206 explicit AboutWindow(QWidget *parent = 0); | |
207 ~AboutWindow(); | |
208 | |
209 private slots: | |
210 void on_button_Close_clicked(); | |
211 | |
212 private: | |
213 Ui::AboutWindow *ui; | |
214 }; | |
215 | |
216 | |
197 #endif // SYNTILISTA_H | 217 #endif // SYNTILISTA_H |