diff --git a/src/Mod/Path/Gui/Resources/Path.qrc b/src/Mod/Path/Gui/Resources/Path.qrc index a70f2c3bc..cf3e2b7b0 100644 --- a/src/Mod/Path/Gui/Resources/Path.qrc +++ b/src/Mod/Path/Gui/Resources/Path.qrc @@ -42,6 +42,9 @@ icons/Path-MachineMill.svg icons/Path-OperationA.svg icons/Path-OperationB.svg + icons/Path-Profile-Edges.svg + icons/Path-Profile-Face.svg + icons/Path-SelectLoop.svg translations/Path_de.qm translations/Path_af.qm translations/Path_zh-CN.qm diff --git a/src/Mod/Path/Gui/Resources/icons/Path-Profile-Edges.svg b/src/Mod/Path/Gui/Resources/icons/Path-Profile-Edges.svg new file mode 100644 index 000000000..52eb2f248 --- /dev/null +++ b/src/Mod/Path/Gui/Resources/icons/Path-Profile-Edges.svg @@ -0,0 +1,575 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Path/Gui/Resources/icons/Path-Profile-Face.svg b/src/Mod/Path/Gui/Resources/icons/Path-Profile-Face.svg new file mode 100644 index 000000000..4a29b1bc7 --- /dev/null +++ b/src/Mod/Path/Gui/Resources/icons/Path-Profile-Face.svg @@ -0,0 +1,570 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/src/Mod/Path/Gui/Resources/icons/Path-SelectLoop.svg b/src/Mod/Path/Gui/Resources/icons/Path-SelectLoop.svg new file mode 100644 index 000000000..684c0b337 --- /dev/null +++ b/src/Mod/Path/Gui/Resources/icons/Path-SelectLoop.svg @@ -0,0 +1,547 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/src/Mod/Path/PathCommands.py b/src/Mod/Path/PathCommands.py index 4d50e4c78..128f9b19a 100644 --- a/src/Mod/Path/PathCommands.py +++ b/src/Mod/Path/PathCommands.py @@ -23,11 +23,10 @@ # *************************************************************************** import FreeCAD -import Part from PathScripts.PathUtils import loopdetect if FreeCAD.GuiUp: import FreeCADGui - from PySide import QtGui,QtCore + from PySide import QtCore from DraftTools import translate else: def translate(ctxt,txt): @@ -41,7 +40,7 @@ __url__ = "http://www.freecadweb.org" class _CommandSelectLoop: "the Arch RemoveShape command definition" def GetResources(self): - return {'Pixmap' : 'Path_SelectLoop', + return {'Pixmap' : 'Path-SelectLoop', 'MenuText': QtCore.QT_TRANSLATE_NOOP("Path_SelectLoop","Finish Selecting Loop"), 'ToolTip': QtCore.QT_TRANSLATE_NOOP("Path_SelectLoop","Complete loop selection from two edges")} diff --git a/src/Mod/Path/PathScripts/PathProfile.py b/src/Mod/Path/PathScripts/PathProfile.py index 784c9c681..a6e18f7c5 100644 --- a/src/Mod/Path/PathScripts/PathProfile.py +++ b/src/Mod/Path/PathScripts/PathProfile.py @@ -369,7 +369,7 @@ class _ViewProviderProfile: return True def getIcon(self): - return ":/icons/Path-Profile.svg" + return ":/icons/Path-Profile-Face.svg" def __getstate__(self): return None @@ -454,7 +454,7 @@ class _CommandSetEndPoint: class CommandPathProfile: def GetResources(self): - return {'Pixmap': 'Path-Profile', + return {'Pixmap': 'Path-Profile-Face', 'MenuText': QtCore.QT_TRANSLATE_NOOP("PathProfile", "Face Profile"), 'Accel': "P, F", 'ToolTip': QtCore.QT_TRANSLATE_NOOP("PathProfile", "Profile based on face or faces")}