Move App::Part to a separate global toolbar

This commit is contained in:
Stefan Tröger
2017-07-28 19:54:13 +02:00
committed by wmayer
parent 97828a9ce5
commit 1a3fb02eb9
6 changed files with 11 additions and 50 deletions

View File

@@ -622,6 +622,12 @@ ToolBarItem* StdWorkbench::setupToolBars() const
*view << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_DrawStyle" << "Separator" << "Std_ViewAxo" << "Separator" << "Std_ViewFront"
<< "Std_ViewTop" << "Std_ViewRight" << "Separator" << "Std_ViewRear" << "Std_ViewBottom"
<< "Std_ViewLeft" << "Separator" << "Std_MeasureDistance" ;
// Structure
ToolBarItem* structure = new ToolBarItem( root );
structure->setCommand("Structure");
*structure << "Std_Part";
return root;
}