Skip to content

Commit

Permalink
fixes 0003776: PartDesign Hole parameters Diameter field is not unit …
Browse files Browse the repository at this point in the history
…aware
  • Loading branch information
wwmayer committed Jan 17, 2019
1 parent 0cc8efa commit e3ec8e7
Showing 1 changed file with 47 additions and 7 deletions.
54 changes: 47 additions & 7 deletions src/Mod/PartDesign/Gui/TaskHoleParameters.ui
Expand Up @@ -15,7 +15,11 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="11" column="5" colspan="2">
<widget class="Gui::PrefQuantitySpinBox" name="Diameter" native="true"/>
<widget class="Gui::PrefQuantitySpinBox" name="Diameter" native="true">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
<item row="14" column="0">
<widget class="QLabel" name="label">
Expand Down Expand Up @@ -75,7 +79,11 @@
</widget>
</item>
<item row="12" column="5" colspan="2">
<widget class="Gui::PrefQuantitySpinBox" name="Depth" native="true"/>
<widget class="Gui::PrefQuantitySpinBox" name="Depth" native="true">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
<item row="8" column="0" colspan="2">
<widget class="QLabel" name="label_8">
Expand Down Expand Up @@ -104,10 +112,18 @@
</widget>
</item>
<item row="16" column="4" colspan="3">
<widget class="Gui::PrefQuantitySpinBox" name="HoleCutDepth" native="true"/>
<widget class="Gui::PrefQuantitySpinBox" name="HoleCutDepth" native="true">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
<item row="15" column="4" colspan="3">
<widget class="Gui::PrefQuantitySpinBox" name="HoleCutDiameter" native="true"/>
<widget class="Gui::PrefQuantitySpinBox" name="HoleCutDiameter" native="true">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
<item row="9" column="2" colspan="5">
<widget class="QComboBox" name="ThreadSize"/>
Expand Down Expand Up @@ -159,7 +175,11 @@
</widget>
</item>
<item>
<widget class="Gui::PrefQuantitySpinBox" name="DrillPointAngle" native="true"/>
<widget class="Gui::PrefQuantitySpinBox" name="DrillPointAngle" native="true">
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
</widget>
</item>
</layout>
</item>
Expand Down Expand Up @@ -314,7 +334,11 @@
</widget>
</item>
<item row="17" column="4" colspan="3">
<widget class="Gui::PrefQuantitySpinBox" name="HoleCutCountersinkAngle" native="true"/>
<widget class="Gui::PrefQuantitySpinBox" name="HoleCutCountersinkAngle" native="true">
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
</widget>
</item>
<item row="12" column="2" colspan="2">
<widget class="QComboBox" name="DepthType">
Expand Down Expand Up @@ -378,27 +402,39 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
<item row="5" column="3" colspan="4">
<widget class="Gui::PrefQuantitySpinBox" name="ThreadAngle" native="true">
<property name="enabled">
<bool>false</bool>
</property>
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
</widget>
</item>
<item row="6" column="3" colspan="4">
<widget class="Gui::PrefQuantitySpinBox" name="ThreadCutOffInner" native="true">
<property name="enabled">
<bool>false</bool>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
<item row="7" column="3" colspan="4">
<widget class="Gui::PrefQuantitySpinBox" name="ThreadCutOffOuter" native="true">
<property name="enabled">
<bool>false</bool>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
<item row="18" column="0" colspan="7">
Expand Down Expand Up @@ -439,7 +475,11 @@
</widget>
</item>
<item row="21" column="2" colspan="2">
<widget class="Gui::PrefQuantitySpinBox" name="TaperedAngle" native="true"/>
<widget class="Gui::PrefQuantitySpinBox" name="TaperedAngle" native="true">
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
</widget>
</item>
</layout>
</widget>
Expand Down

0 comments on commit e3ec8e7

Please sign in to comment.