Part: move icons to create subdirectory

The path to the icons is added to `AppPartGui.cpp`
using `Gui::BitmapFactory().addPath()`, so the icons are found
automatically in their new directories.

Rename icon `Part_CreatePrimitives.svg` to `Part_Primitives.svg`.
This commit is contained in:
vocx-fc
2020-10-05 17:33:51 -05:00
committed by wwmayer
parent 63a244f01e
commit 2fa40f4060
12 changed files with 15 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ if FreeCAD.GuiUp:
return {'MenuText': Qt.QT_TRANSLATE_NOOP("Part_Tube","Create tube"),
'Accel': "",
'CmdType': "AlterDoc:Alter3DView:AlterSelection",
'Pixmap': ":/icons/Part_Tube.svg",
'Pixmap': "Part_Tube",
'ToolTip': Qt.QT_TRANSLATE_NOOP("Part_Tube","Creates a tube")}
def Activated(self):
@@ -101,3 +101,4 @@ if FreeCAD.GuiUp:
FreeCADGui.addCommand('Part_Tube', CommandTube())