gui.cpp

changeset 118
649110bb36a8
parent 117
7eb7a43a511b
child 120
607301744394
--- a/gui.cpp	Fri Apr 19 15:21:46 2013 +0300
+++ b/gui.cpp	Sat Apr 20 04:18:22 2013 +0300
@@ -69,6 +69,7 @@
 EXTERN_ACTION (moveXPos)
 EXTERN_ACTION (moveYPos)
 EXTERN_ACTION (moveZPos)
+EXTERN_ACTION (invert)
 
 #ifndef RELEASE
 EXTERN_ACTION (addTestQuad)
@@ -118,6 +119,8 @@
 	createMenus ();
 	createToolbars ();
 	
+	setStatusBar (new QStatusBar);
+	
 	slot_selectionChanged ();
 	
 	setWindowIcon (QIcon ("icons/ldforge.png"));
@@ -198,6 +201,7 @@
 	qEditMenu->addAction (ACTION_NAME (selectByType));		// Select by Type
 	qEditMenu->addSeparator ();								// -----
 	qEditMenu->addAction (ACTION_NAME (setColor));			// Set Color
+	qEditMenu->addAction (ACTION_NAME (invert));			// Invert
 	qEditMenu->addAction (ACTION_NAME (inlineContents));	// Inline
 	qEditMenu->addAction (ACTION_NAME (deepInline));		// Deep Inline
 	qEditMenu->addAction (ACTION_NAME (splitQuads));		// Split Quads
@@ -323,6 +327,7 @@
 	g_ToolBarArea = Qt::LeftToolBarArea;
 	initSingleToolBar ("Objects");
 	ADD_TOOLBAR_ITEM (setColor)
+	ADD_TOOLBAR_ITEM (invert)
 	ADD_TOOLBAR_ITEM (inlineContents)
 	ADD_TOOLBAR_ITEM (deepInline)
 	ADD_TOOLBAR_ITEM (splitQuads)

mercurial