minor fixes in gear panel

This commit is contained in:
wmayer
2014-08-08 13:21:06 +02:00
parent 420e71afbb
commit 854596aaa0
4 changed files with 80 additions and 16 deletions

View File

@@ -12,10 +12,11 @@
<file>icons/PartDesign_PolarPattern.svg</file>
<file>icons/PartDesign_Scaled.svg</file>
<file>icons/PartDesign_MultiTransform.svg</file>
<file>icons/PartDesign_Hole.svg</file>
<file>icons/Tree_PartDesign_Pad.svg</file>
<file>icons/Tree_PartDesign_Revolution.svg</file>
<file>icons/PartDesign_InvoluteGear.svg</file>
<file>icons/PartDesign_Hole.svg</file>
<file>icons/Tree_PartDesign_Pad.svg</file>
<file>icons/Tree_PartDesign_Revolution.svg</file>
<file>icons/PartDesign_InternalExternalGear.svg</file>
<file>icons/PartDesign_InvoluteGear.svg</file>
<file>translations/PartDesign_af.qm</file>
<file>translations/PartDesign_de.qm</file>
<file>translations/PartDesign_fi.qm</file>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -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)

View File

@@ -122,7 +122,7 @@
<item row="3" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>High Precision:</string>
<string>High precision:</string>
</property>
</widget>
</item>
@@ -149,7 +149,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>external Gear:</string>
<string>External gear:</string>
</property>
</widget>
</item>