[PD] uniform Pad/pocket UI
now that pockets have the same functionality as pads, the UIs can be unified: - the position of the Offset widget in the UI is better in pocket, thus use it for pad too - add missing tabstops for pad - add missing tooltip for pocket - update tabstops for pocket
This commit is contained in:
@@ -49,6 +49,23 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="labelOffset">
|
||||
<property name="text">
|
||||
<string>Offset to face</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="Gui::PrefQuantitySpinBox" name="offsetEdit">
|
||||
<property name="toolTip">
|
||||
<string>Offset from face at which pad will end</string>
|
||||
</property>
|
||||
<property name="keyboardTracking">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
@@ -224,27 +241,6 @@ measured along the specified direction</string>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||
<item>
|
||||
<widget class="QLabel" name="labelOffset">
|
||||
<property name="text">
|
||||
<string>Offset to face</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Gui::PrefQuantitySpinBox" name="offsetEdit">
|
||||
<property name="toolTip">
|
||||
<string>Offset from face in which pad will end</string>
|
||||
</property>
|
||||
<property name="keyboardTracking">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBoxMidplane">
|
||||
<property name="enabled">
|
||||
@@ -336,6 +332,23 @@ measured along the specified direction</string>
|
||||
<header>Gui/PrefWidgets.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<tabstops>
|
||||
<tabstop>changeMode</tabstop>
|
||||
<tabstop>lengthEdit</tabstop>
|
||||
<tabstop>offsetEdit</tabstop>
|
||||
<tabstop>directionCB</tabstop>
|
||||
<tabstop>checkBoxAlongDirection</tabstop>
|
||||
<tabstop>checkBoxMidplane</tabstop>
|
||||
<tabstop>checkBoxReversed</tabstop>
|
||||
<tabstop>lengthEdit2</tabstop>
|
||||
<tabstop>buttonFace</tabstop>
|
||||
<tabstop>lineFaceName</tabstop>
|
||||
<tabstop>checkBoxUpdateView</tabstop>
|
||||
<tabstop>checkBoxDirection</tabstop>
|
||||
<tabstop>XDirectionEdit</tabstop>
|
||||
<tabstop>YDirectionEdit</tabstop>
|
||||
<tabstop>ZDirectionEdit</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
||||
@@ -52,12 +52,15 @@
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="labelOffset">
|
||||
<property name="text">
|
||||
<string>Offset</string>
|
||||
<string>Offset to face</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="Gui::PrefQuantitySpinBox" name="offsetEdit">
|
||||
<property name="toolTip">
|
||||
<string>Offset from face at which pocket will end</string>
|
||||
</property>
|
||||
<property name="keyboardTracking">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
@@ -327,12 +330,18 @@ measured along the specified direction</string>
|
||||
<tabstop>changeMode</tabstop>
|
||||
<tabstop>lengthEdit</tabstop>
|
||||
<tabstop>offsetEdit</tabstop>
|
||||
<tabstop>directionCB</tabstop>
|
||||
<tabstop>checkBoxAlongDirection</tabstop>
|
||||
<tabstop>checkBoxMidplane</tabstop>
|
||||
<tabstop>checkBoxReversed</tabstop>
|
||||
<tabstop>lengthEdit2</tabstop>
|
||||
<tabstop>buttonFace</tabstop>
|
||||
<tabstop>lineFaceName</tabstop>
|
||||
<tabstop>checkBoxUpdateView</tabstop>
|
||||
<tabstop>checkBoxDirection</tabstop>
|
||||
<tabstop>XDirectionEdit</tabstop>
|
||||
<tabstop>YDirectionEdit</tabstop>
|
||||
<tabstop>ZDirectionEdit</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
||||
Reference in New Issue
Block a user