From 30aaf7a35bc6e8224ad683148af28cedf81f03fd Mon Sep 17 00:00:00 2001 From: Renaud G Date: Tue, 3 Mar 2015 23:00:11 +0100 Subject: Add gui and new node. --- gui/mainwindow.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 gui/mainwindow.h (limited to 'gui/mainwindow.h') diff --git a/gui/mainwindow.h b/gui/mainwindow.h new file mode 100644 index 0000000..d910ad6 --- /dev/null +++ b/gui/mainwindow.h @@ -0,0 +1,26 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include + +class DiceParser; +namespace Ui { +class MainWindow; +} + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit MainWindow(QWidget *parent = 0); + ~MainWindow(); + +protected slots: + void rollDiceCommand(); +private: + Ui::MainWindow *ui; + DiceParser* m_dieParser; +}; + +#endif // MAINWINDOW_H -- cgit v1.2.3-70-g09d2