diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-18 15:11:49 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-18 15:11:49 +0000 |
commit | 81466bb5001c6fc524806311c4a95d1a42da393c (patch) | |
tree | 7b95e4b69520aba8b15a6c47e06d0931bdeb6764 /src/mainwindow.h | |
parent | 2d486c096ec890425ef0b23dcb6486e87ccf9788 (diff) |
added simple MDI framework.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 12 |
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; }; } |