Gui: expose link selection and navigation command

This commit is contained in:
Zheng, Lei
2019-08-31 18:03:43 +08:00
committed by wmayer
parent 68a9a847c5
commit e03e6d9a44
5 changed files with 117 additions and 91 deletions

View File

@@ -660,15 +660,16 @@ ToolBarItem* StdWorkbench::setupToolBars() const
ToolBarItem* view = new ToolBarItem( root );
view->setCommand("View");
*view << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_DrawStyle" << "Std_SelBoundingBox"
<< "Separator" << "Std_SelBack" << "Std_SelForward" << "Std_LinkSelectActions"
<< "Separator" << "Std_TreeViewActions" << "Std_ViewIsometric" << "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" << "Std_Group" << "Std_LinkMake" << "Std_LinkMakeRelative";
return root;
}