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-26 11:18:00 +0000
committerStijn Buys <ingar@osirion.org>2012-02-26 11:18:00 +0000
commit0921b67bca379566478979e61207efbf179ee055 (patch)
tree6f665190ac8b49db66cc9897fe6bb95cd0f95a00 /src/mainwindow.h
parent704a6c280bb14bf12292d9feb74d3383565a414b (diff)
Corrected MdiChild focus issues when opening more than one file,
enable or disable menu options when approriate.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index b76eaa8..0563aa9 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -33,10 +33,16 @@ private slots:
void slot_open();
void slot_save();
void slot_save_as();
+
+ void slot_add();
+ void slot_delete();
+ void slot_duplicate();
+
+ void updateMenus();
private:
- void init_actions();
- void init_menu();
+ void initActions();
+ void initMenus();
/// add a new child window
EditorWindow *add_child();
@@ -56,6 +62,10 @@ private:
QAction *action_save;
QAction *action_save_as;
QAction *action_quit;
+
+ QAction *action_add;
+ QAction *action_delete;
+ QAction *action_duplicate;
};
}