diff --git a/src/Mod/Part/BasicShapes/CommandShapes.py b/src/Mod/Part/BasicShapes/CommandShapes.py index 03c776f427..8c0086b531 100644 --- a/src/Mod/Part/BasicShapes/CommandShapes.py +++ b/src/Mod/Part/BasicShapes/CommandShapes.py @@ -44,7 +44,7 @@ class CommandTube: return {'MenuText': Qt.QT_TRANSLATE_NOOP("Part_Tube","Create tube"), 'Accel': "", 'CmdType': "AlterDoc:Alter3DView:AlterSelection", - 'Pixmap': "Part_Tube", + 'Pixmap': "Part_Tube_Parametric", 'ToolTip': Qt.QT_TRANSLATE_NOOP("Part_Tube","Creates a tube")} def Activated(self): diff --git a/src/Mod/Part/Gui/Command.cpp b/src/Mod/Part/Gui/Command.cpp index 422daa40da..4290cf30c7 100644 --- a/src/Mod/Part/Gui/Command.cpp +++ b/src/Mod/Part/Gui/Command.cpp @@ -131,7 +131,7 @@ CmdPartBox2::CmdPartBox2() sToolTipText = QT_TR_NOOP("Create a box solid without dialog"); sWhatsThis = "Part_Box2"; sStatusTip = sToolTipText; - sPixmap = "Part_Box"; + sPixmap = "Part_Box_Parametric"; } void CmdPartBox2::activated(int iMsg) @@ -172,7 +172,7 @@ CmdPartBox3::CmdPartBox3() sToolTipText = QT_TR_NOOP("Create a box solid without dialog"); sWhatsThis = "Part_Box3"; sStatusTip = sToolTipText; - sPixmap = "Part_Box"; + sPixmap = "Part_Box_Parametric"; } void CmdPartBox3::activated(int iMsg) @@ -1059,7 +1059,7 @@ CmdPartImportCurveNet::CmdPartImportCurveNet() sToolTipText= QT_TR_NOOP("Import a curve network"); sWhatsThis = "Part_ImportCurveNet"; sStatusTip = sToolTipText; - sPixmap = "Part_Box"; + sPixmap = "Part_Box_Parametric"; } void CmdPartImportCurveNet::activated(int iMsg) diff --git a/src/Mod/Part/Gui/CommandParametric.cpp b/src/Mod/Part/Gui/CommandParametric.cpp index 815b69617e..262f611597 100644 --- a/src/Mod/Part/Gui/CommandParametric.cpp +++ b/src/Mod/Part/Gui/CommandParametric.cpp @@ -66,7 +66,7 @@ CmdPartCylinder::CmdPartCylinder() sToolTipText = QT_TR_NOOP("Create a Cylinder"); sWhatsThis = "Part_Cylinder"; sStatusTip = sToolTipText; - sPixmap = "Part_Cylinder"; + sPixmap = "Part_Cylinder_Parametric"; } void CmdPartCylinder::activated(int iMsg) @@ -108,7 +108,7 @@ CmdPartBox::CmdPartBox() sToolTipText = QT_TR_NOOP("Create a cube solid"); sWhatsThis = "Part_Box"; sStatusTip = sToolTipText; - sPixmap = "Part_Box"; + sPixmap = "Part_Box_Parametric"; } void CmdPartBox::activated(int iMsg) @@ -150,7 +150,7 @@ CmdPartSphere::CmdPartSphere() sToolTipText = QT_TR_NOOP("Create a sphere solid"); sWhatsThis = "Part_Sphere"; sStatusTip = sToolTipText; - sPixmap = "Part_Sphere"; + sPixmap = "Part_Sphere_Parametric"; } void CmdPartSphere::activated(int iMsg) @@ -192,7 +192,7 @@ CmdPartCone::CmdPartCone() sToolTipText = QT_TR_NOOP("Create a cone solid"); sWhatsThis = "Part_Cone"; sStatusTip = sToolTipText; - sPixmap = "Part_Cone"; + sPixmap = "Part_Cone_Parametric"; } void CmdPartCone::activated(int iMsg) @@ -234,7 +234,7 @@ CmdPartTorus::CmdPartTorus() sToolTipText = QT_TR_NOOP("Create a torus solid"); sWhatsThis = "Part_Torus"; sStatusTip = sToolTipText; - sPixmap = "Part_Torus"; + sPixmap = "Part_Torus_Parametric"; } void CmdPartTorus::activated(int iMsg) diff --git a/src/Mod/Part/Gui/CommandSimple.cpp b/src/Mod/Part/Gui/CommandSimple.cpp index 16e9936fe0..fb156b524d 100644 --- a/src/Mod/Part/Gui/CommandSimple.cpp +++ b/src/Mod/Part/Gui/CommandSimple.cpp @@ -57,7 +57,7 @@ CmdPartSimpleCylinder::CmdPartSimpleCylinder() sToolTipText = QT_TR_NOOP("Create a Cylinder"); sWhatsThis = "Part_SimpleCylinder"; sStatusTip = sToolTipText; - sPixmap = "Part_Cylinder"; + sPixmap = "Part_Cylinder_Parametric"; } void CmdPartSimpleCylinder::activated(int iMsg) diff --git a/src/Mod/Part/Gui/Resources/Part.qrc b/src/Mod/Part/Gui/Resources/Part.qrc index e4b86645ea..d9cdb30c36 100644 --- a/src/Mod/Part/Gui/Resources/Part.qrc +++ b/src/Mod/Part/Gui/Resources/Part.qrc @@ -21,14 +21,8 @@ icons/booleans/Part_XOR.svg - icons/create/Part_Box.svg - icons/create/Part_Cone.svg - icons/create/Part_Cylinder.svg icons/create/Part_Primitives.svg icons/create/Part_Shapebuilder.svg - icons/create/Part_Sphere.svg - icons/create/Part_Torus.svg - icons/create/Part_Tube.svg icons/parametric/Part_Box_Parametric.svg diff --git a/src/Mod/Part/Gui/Resources/icons/create/Part_Box.svg b/src/Mod/Part/Gui/Resources/icons/create/Part_Box.svg deleted file mode 100644 index 35d69df517..0000000000 --- a/src/Mod/Part/Gui/Resources/icons/create/Part_Box.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [wmayer] - - - Part_Box - 2011-10-10 - https://www.freecad.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Box.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - diff --git a/src/Mod/Part/Gui/Resources/icons/create/Part_Cone.svg b/src/Mod/Part/Gui/Resources/icons/create/Part_Cone.svg deleted file mode 100644 index 10f8f5990e..0000000000 --- a/src/Mod/Part/Gui/Resources/icons/create/Part_Cone.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - [wmayer] - - - Part_Cone - 2011-10-10 - https://www.freecad.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cone.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - diff --git a/src/Mod/Part/Gui/Resources/icons/create/Part_Cylinder.svg b/src/Mod/Part/Gui/Resources/icons/create/Part_Cylinder.svg deleted file mode 100644 index 005992a355..0000000000 --- a/src/Mod/Part/Gui/Resources/icons/create/Part_Cylinder.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - [wmayer] - - - Part_Cylinder - 2011-10-10 - https://www.freecad.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - diff --git a/src/Mod/Part/Gui/Resources/icons/create/Part_Sphere.svg b/src/Mod/Part/Gui/Resources/icons/create/Part_Sphere.svg deleted file mode 100644 index 39a603b566..0000000000 --- a/src/Mod/Part/Gui/Resources/icons/create/Part_Sphere.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [wmayer] - - - Part_Sphere - 2011-10-10 - https://www.freecad.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Sphere.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - diff --git a/src/Mod/Part/Gui/Resources/icons/create/Part_Torus.svg b/src/Mod/Part/Gui/Resources/icons/create/Part_Torus.svg deleted file mode 100644 index ee69daf84e..0000000000 --- a/src/Mod/Part/Gui/Resources/icons/create/Part_Torus.svg +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [wmayer] - - - Part_Torus - 2011-10-10 - https://www.freecad.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Torus.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - diff --git a/src/Mod/Part/Gui/Resources/icons/create/Part_Tube.svg b/src/Mod/Part/Gui/Resources/icons/create/Part_Tube.svg deleted file mode 100644 index 62fbe9c215..0000000000 --- a/src/Mod/Part/Gui/Resources/icons/create/Part_Tube.svg +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - [wmayer] - - - - 2011-10-10 - https://www.freecad.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index 539f856705..d65f7f3913 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -279,7 +279,7 @@ void Workbench::activated() "SELECT Part::Feature SUBELEMENT Vertex COUNT 1..", Vertex, "Vertex tools", - "Part_Box" + "Part_Box_Parametric" )); const char* Edge[] = { @@ -294,7 +294,7 @@ void Workbench::activated() "SELECT Part::Feature SUBELEMENT Edge COUNT 1..", Edge, "Edge tools", - "Part_Box" + "Part_Box_Parametric" )); const char* Face[] = { @@ -312,7 +312,7 @@ void Workbench::activated() "SELECT Part::Feature SUBELEMENT Face COUNT 1", Face, "Face tools", - "Part_Box" + "Part_Box_Parametric" )); const char* Body[] = { @@ -322,7 +322,7 @@ void Workbench::activated() "SELECT PartDesign::Body COUNT 1", Body, "Start Body", - "Part_Box" + "Part_Box_Parametric" )); const char* Body2[] = { @@ -332,7 +332,7 @@ void Workbench::activated() "SELECT PartDesign::Body COUNT 1..", Body2, "Start Boolean", - "Part_Box" + "Part_Box_Parametric" )); const char* Plane1[] = { @@ -346,7 +346,7 @@ void Workbench::activated() "SELECT App::Plane COUNT 1", Plane1, "Start Part", - "Part_Box" + "Part_Box_Parametric" )); const char* Plane2[] = { "PartDesign_NewSketch", @@ -359,7 +359,7 @@ void Workbench::activated() "SELECT PartDesign::Plane COUNT 1", Plane2, "Start Part", - "Part_Box" + "Part_Box_Parametric" )); const char* Line[] = { @@ -371,7 +371,7 @@ void Workbench::activated() "SELECT PartDesign::Line COUNT 1", Line, "Start Part", - "Part_Box" + "Part_Box_Parametric" )); const char* Point[] = { @@ -384,7 +384,7 @@ void Workbench::activated() "SELECT PartDesign::Point COUNT 1", Point, "Start Part", - "Part_Box" + "Part_Box_Parametric" )); const char* NoSel[] = { @@ -393,7 +393,7 @@ void Workbench::activated() Watcher.push_back(new Gui::TaskView::TaskWatcherCommandsEmptySelection( NoSel, "Start Part", - "Part_Box" + "Part_Box_Parametric" )); const char* Faces[] = { @@ -406,7 +406,7 @@ void Workbench::activated() "SELECT Part::Feature SUBELEMENT Face COUNT 2..", Faces, "Face tools", - "Part_Box" + "Part_Box_Parametric" )); const char* Sketch[] = { @@ -427,7 +427,7 @@ void Workbench::activated() "SELECT Sketcher::SketchObject COUNT 1", Sketch, "Sketch tools", - "Part_Box" + "Part_Box_Parametric" )); const char* Transformed[] = { diff --git a/src/Mod/TemplatePyMod/TaskPanel.py b/src/Mod/TemplatePyMod/TaskPanel.py index cc8e301aaa..f18b1167aa 100644 --- a/src/Mod/TemplatePyMod/TaskPanel.py +++ b/src/Mod/TemplatePyMod/TaskPanel.py @@ -30,7 +30,7 @@ class TaskWatcherFilter: self.commands = ["Sketcher_NewSketch", "PartDesign_Fillet", "PartDesign_Chamfer"] self.filter = "SELECT Part::Feature SUBELEMENT Face COUNT 1" self.title = "Face tools" - self.icon = "Part_Box" + self.icon = "Part_Box_Parametric" class TaskPanel: def __init__(self):