simple_mtglife
diff mainwin.h @ 0:6321cfa2ad62
initial
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 23 Jan 2015 15:24:27 +0200 |
parents | |
children | d76fb2ffe7f5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mainwin.h Fri Jan 23 15:24:27 2015 +0200 1.3 @@ -0,0 +1,35 @@ 1.4 +#ifndef MAINWIN_H 1.5 +#define MAINWIN_H 1.6 + 1.7 +#include <QMainWindow> 1.8 + 1.9 +namespace Ui { 1.10 +class MainWin; 1.11 +} 1.12 + 1.13 +class MainWin : public QMainWindow 1.14 +{ 1.15 + Q_OBJECT 1.16 + 1.17 +public: 1.18 + explicit MainWin(QWidget *parent = 0); 1.19 + ~MainWin(); 1.20 + 1.21 +private slots: 1.22 + void on_bn_p1_reset_clicked(); 1.23 + 1.24 + void on_bn_p2_reset_clicked(); 1.25 + 1.26 + void on_bn_p1_inc10_clicked(); 1.27 + 1.28 + void on_bn_p1_dec10_clicked(); 1.29 + 1.30 + void on_bn_p2_inc10_clicked(); 1.31 + 1.32 + void on_bn_p2_dec10_clicked(); 1.33 + 1.34 +private: 1.35 + Ui::MainWin *ui; 1.36 +}; 1.37 + 1.38 +#endif // MAINWIN_H