[TD]implement view stacking
This commit is contained in:
@@ -153,6 +153,14 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
*annotations << "TechDraw_RichTextAnnotation";
|
||||
*annotations << "TechDraw_Balloon";
|
||||
|
||||
// stacking
|
||||
Gui::MenuItem* stacking = new Gui::MenuItem;
|
||||
stacking->setCommand("Stacking");
|
||||
*stacking << "TechDraw_StackTop";
|
||||
*stacking << "TechDraw_StackBottom";
|
||||
*stacking << "TechDraw_StackUp";
|
||||
*stacking << "TechDraw_StackDown";
|
||||
|
||||
// lines
|
||||
Gui::MenuItem* lines = new Gui::MenuItem;
|
||||
lines->setCommand("Add Lines");
|
||||
@@ -192,6 +200,8 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
*draw << "Separator";
|
||||
*draw << "TechDraw_MoveView";
|
||||
*draw << "TechDraw_ShareView";
|
||||
*draw << "Separator";
|
||||
*draw << stacking;
|
||||
*draw << dimensions;
|
||||
*draw << toolattrib;
|
||||
*draw << toolcenter;
|
||||
@@ -249,6 +259,10 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
*clips << "TechDraw_ClipGroupAdd";
|
||||
*clips << "TechDraw_ClipGroupRemove";
|
||||
|
||||
Gui::ToolBarItem *stacking = new Gui::ToolBarItem(root);
|
||||
stacking->setCommand("TechDraw Stacking");
|
||||
*stacking << "TechDraw_StackGroup";
|
||||
|
||||
Gui::ToolBarItem *dims = new Gui::ToolBarItem(root);
|
||||
dims->setCommand("TechDraw Dimensions");
|
||||
*dims << "TechDraw_LengthDimension";
|
||||
@@ -391,6 +405,10 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const
|
||||
*clips << "TechDraw_ClipGroupAdd";
|
||||
*clips << "TechDraw_ClipGroupRemove";
|
||||
|
||||
Gui::ToolBarItem *stacking = new Gui::ToolBarItem(root);
|
||||
stacking->setCommand("TechDraw Stacking");
|
||||
*stacking << "TechDraw_StackGroup";
|
||||
|
||||
Gui::ToolBarItem *dims = new Gui::ToolBarItem(root);
|
||||
dims->setCommand("TechDraw Dimensions");
|
||||
*dims << "TechDraw_LengthDimension";
|
||||
|
||||
Reference in New Issue
Block a user