[Gui] UserEditMode : add menu and toolbar management
This commit is contained in:
@@ -587,7 +587,7 @@ MenuItem* StdWorkbench::setupMenuBar() const
|
||||
<< "Std_Refresh" << "Std_BoxSelection" << "Std_BoxElementSelection"
|
||||
<< "Std_SelectAll" << "Std_Delete" << "Std_SendToPythonConsole"
|
||||
<< "Separator" << "Std_Placement" << "Std_TransformManip" << "Std_Alignment"
|
||||
<< "Std_Edit" << "Separator" << "Std_DlgPreferences";
|
||||
<< "Std_Edit" << "Separator" << "Std_UserEditMode" << "Separator" << "Std_DlgPreferences";
|
||||
|
||||
MenuItem* axoviews = new MenuItem;
|
||||
axoviews->setCommand("Axonometric");
|
||||
@@ -712,7 +712,7 @@ ToolBarItem* StdWorkbench::setupToolBars() const
|
||||
file->setCommand("File");
|
||||
*file << "Std_New" << "Std_Open" << "Std_Save" << "Std_Print" << "Separator" << "Std_Cut"
|
||||
<< "Std_Copy" << "Std_Paste" << "Separator" << "Std_Undo" << "Std_Redo" << "Separator"
|
||||
<< "Std_Refresh" << "Separator" << "Std_WhatsThis";
|
||||
<< "Std_UserEditMode" << "Separator" << "Std_Refresh" << "Separator" << "Std_WhatsThis";
|
||||
|
||||
// Workbench switcher
|
||||
ToolBarItem* wb = new ToolBarItem( root );
|
||||
|
||||
Reference in New Issue
Block a user