Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-02-18 15:11:49 +0000
committerStijn Buys <ingar@osirion.org>2012-02-18 15:11:49 +0000
commit81466bb5001c6fc524806311c4a95d1a42da393c (patch)
tree7b95e4b69520aba8b15a6c47e06d0931bdeb6764 /src/mainwindow.h
parent2d486c096ec890425ef0b23dcb6486e87ccf9788 (diff)
added simple MDI framework.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 702cc18..d2b385a 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -12,6 +12,7 @@
#include <QMainWindow>
+class QAction;
class QMenu;
class QMdiArea;
@@ -25,12 +26,23 @@ class MainWindow : public QMainWindow
public:
MainWindow();
+private slots:
+ void slot_new();
+ void slot_open();
+
private:
+ void init_actions();
void init_menu();
+
+ void add_child();
QMdiArea *mainwindow_mdiarea;
QMenu *mainwindow_filemenu;
QMenu *mainwindow_editmenu;
+
+ QAction *action_new;
+ QAction *action_open;
+ QAction *action_quit;
};
}