gui.cpp

changeset 96
2f175b3d8211
parent 94
a9e67f6e610e
child 97
52bcca21579e
--- a/gui.cpp	Wed Apr 10 16:17:22 2013 +0300
+++ b/gui.cpp	Wed Apr 10 19:26:14 2013 +0300
@@ -58,6 +58,7 @@
 EXTERN_ACTION (aboutQt)
 EXTERN_ACTION (undo)
 EXTERN_ACTION (redo)
+EXTERN_ACTION (showHistory)
 
 vector<actionmeta> g_ActionMeta;
 
@@ -177,6 +178,10 @@
 	ADD_MENU_ITEM (Edit, setContents)		// Set Contents
 	ADD_MENU_ITEM (Edit, makeBorders)		// Make Borders
 	
+	// Control menuBar
+	qControlMenu = menuBar ()->addMenu (tr ("&Control"));
+	ADD_MENU_ITEM (Control, showHistory)	// Show History
+	
 	// Help menu
 	qHelpMenu = menuBar ()->addMenu (tr ("&Help"));
 	ADD_MENU_ITEM (Help, help)				// Help

mercurial