aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-03-03 23:00:11 +0100
committerRenaud G <renaud@rolisteam.org>2015-03-03 23:00:11 +0100
commit30aaf7a35bc6e8224ad683148af28cedf81f03fd (patch)
tree4ef6e1451a62d852d4b83f2bb2a89e7940a33c6d /gui/mainwindow.h
parent343f0d6b839d3f9a4740733cf2148b136ef8e00d (diff)
downloadOneRoll-30aaf7a35bc6e8224ad683148af28cedf81f03fd.tar.gz
OneRoll-30aaf7a35bc6e8224ad683148af28cedf81f03fd.zip
Add gui and new node.
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h26
1 files changed, 26 insertions, 0 deletions
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 <QMainWindow>
+
+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