diff --git a/src/Mod/PartDesign/Gui/Resources/PartDesign.qrc b/src/Mod/PartDesign/Gui/Resources/PartDesign.qrc index 662de39d7..eb5368ca5 100644 --- a/src/Mod/PartDesign/Gui/Resources/PartDesign.qrc +++ b/src/Mod/PartDesign/Gui/Resources/PartDesign.qrc @@ -12,10 +12,11 @@ icons/PartDesign_PolarPattern.svg icons/PartDesign_Scaled.svg icons/PartDesign_MultiTransform.svg - icons/PartDesign_Hole.svg - icons/Tree_PartDesign_Pad.svg - icons/Tree_PartDesign_Revolution.svg - icons/PartDesign_InvoluteGear.svg + icons/PartDesign_Hole.svg + icons/Tree_PartDesign_Pad.svg + icons/Tree_PartDesign_Revolution.svg + icons/PartDesign_InternalExternalGear.svg + icons/PartDesign_InvoluteGear.svg translations/PartDesign_af.qm translations/PartDesign_de.qm translations/PartDesign_fi.qm diff --git a/src/Mod/PartDesign/Gui/Resources/icons/PartDesign_InvoluteGear.svg b/src/Mod/PartDesign/Gui/Resources/icons/PartDesign_InvoluteGear.svg index 15f18113f..ace9d3585 100644 --- a/src/Mod/PartDesign/Gui/Resources/icons/PartDesign_InvoluteGear.svg +++ b/src/Mod/PartDesign/Gui/Resources/icons/PartDesign_InvoluteGear.svg @@ -1,10 +1,72 @@ - - High Resolution Gear - image/svg+xml - - Layer 1 - - + + + + + + + + + + image/svg+xml + + + + + + + + Layer 1 + + + + - - \ No newline at end of file + diff --git a/src/Mod/PartDesign/InvoluteGearFeature.py b/src/Mod/PartDesign/InvoluteGearFeature.py index b79390aed..6d346fed4 100644 --- a/src/Mod/PartDesign/InvoluteGearFeature.py +++ b/src/Mod/PartDesign/InvoluteGearFeature.py @@ -103,7 +103,7 @@ class _ViewProviderInvoluteGear: vobj.Proxy = self def getIcon(self): - return ":/icons/PartDesign_InvoluteGear.svg" + return ":/icons/PartDesign_InternalExternalGear.svg" def attach(self, vobj): self.ViewObject = vobj @@ -134,6 +134,7 @@ class _InvoluteGearTaskPanel: self.obj = obj self.form=FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/PartDesign/InvoluteGearFeature.ui") + self.form.setWindowIcon(QtGui.QIcon(":/icons/PartDesign_InternalExternalGear.svg")) QtCore.QObject.connect(self.form.Quantity_Modules, QtCore.SIGNAL("valueChanged(double)"), self.modulesChanged) QtCore.QObject.connect(self.form.Quantity_PressureAngle, QtCore.SIGNAL("valueChanged(double)"), self.angleChanged) diff --git a/src/Mod/PartDesign/InvoluteGearFeature.ui b/src/Mod/PartDesign/InvoluteGearFeature.ui index ee97e90c1..abf8f27bd 100644 --- a/src/Mod/PartDesign/InvoluteGearFeature.ui +++ b/src/Mod/PartDesign/InvoluteGearFeature.ui @@ -122,7 +122,7 @@ - High Precision: + High precision: @@ -149,7 +149,7 @@ - external Gear: + External gear: