[Part] uniform feature sorting

at the moment the sorting is confusing, the sorting in the menu differs from the toolbars and some features even belong in the menu to another category than in the toolbars and one feature has not yet a toolbar entry

This PR implements a uniform sorting for the menu and toolbar and adds the missing toolbar icon
This commit is contained in:
donovaly
2021-03-21 17:50:29 +01:00
committed by wwmayer
parent d358e13cd6
commit 5db4fb767c

View File

@@ -127,17 +127,17 @@ Gui::MenuItem* Workbench::setupMenuBar() const
<< "Separator"
<< bop << join << split << compound
<< "Separator"
<< "Part_Section"
<< "Part_CrossSections"
<< "Part_MakeFace"
<< "Part_Extrude"
<< "Part_Revolve"
<< "Part_Mirror"
<< "Part_Fillet"
<< "Part_Chamfer"
<< "Part_MakeFace"
<< "Part_RuledSurface"
<< "Part_Loft"
<< "Part_Sweep"
<< "Part_Section"
<< "Part_CrossSections"
<< "Part_Offset"
<< "Part_Offset2D"
<< "Part_Thickness"
@@ -191,9 +191,12 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
<< "Part_Mirror"
<< "Part_Fillet"
<< "Part_Chamfer"
<< "Part_MakeFace"
<< "Part_RuledSurface"
<< "Part_Loft"
<< "Part_Sweep"
<< "Part_Section"
<< "Part_CrossSections"
<< "Part_CompOffset"
<< "Part_Thickness"
<< "Part_ProjectionOnSurface"
@@ -209,9 +212,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
<< "Part_CompJoinFeatures"
<< "Part_CompSplitFeatures"
<< "Part_CheckGeometry"
<< "Part_Defeaturing"
<< "Part_Section"
<< "Part_CrossSections";
<< "Part_Defeaturing";
Gui::ToolBarItem* measure = new Gui::ToolBarItem(root);
measure->setCommand("Measure");