From 414f4d706e89c00ce987ed349692c4243ee6f03a Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 14 Nov 2021 03:58:21 +0100 Subject: [PATCH] [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 --- src/Mod/PartDesign/Gui/TaskPadParameters.ui | 55 ++++++++++++------- .../PartDesign/Gui/TaskPocketParameters.ui | 11 +++- 2 files changed, 44 insertions(+), 22 deletions(-) diff --git a/src/Mod/PartDesign/Gui/TaskPadParameters.ui b/src/Mod/PartDesign/Gui/TaskPadParameters.ui index 0946923afe..026cd8cd77 100644 --- a/src/Mod/PartDesign/Gui/TaskPadParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskPadParameters.ui @@ -49,6 +49,23 @@ + + + + Offset to face + + + + + + + Offset from face at which pad will end + + + false + + + @@ -224,27 +241,6 @@ measured along the specified direction - - - - - - Offset to face - - - - - - - Offset from face in which pad will end - - - false - - - - - @@ -336,6 +332,23 @@ measured along the specified direction
Gui/PrefWidgets.h
+ + changeMode + lengthEdit + offsetEdit + directionCB + checkBoxAlongDirection + checkBoxMidplane + checkBoxReversed + lengthEdit2 + buttonFace + lineFaceName + checkBoxUpdateView + checkBoxDirection + XDirectionEdit + YDirectionEdit + ZDirectionEdit + diff --git a/src/Mod/PartDesign/Gui/TaskPocketParameters.ui b/src/Mod/PartDesign/Gui/TaskPocketParameters.ui index 322dba0fa5..4b1171b122 100644 --- a/src/Mod/PartDesign/Gui/TaskPocketParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskPocketParameters.ui @@ -52,12 +52,15 @@ - Offset + Offset to face + + Offset from face at which pocket will end + false @@ -327,12 +330,18 @@ measured along the specified direction changeMode lengthEdit offsetEdit + directionCB + checkBoxAlongDirection checkBoxMidplane checkBoxReversed lengthEdit2 buttonFace lineFaceName checkBoxUpdateView + checkBoxDirection + XDirectionEdit + YDirectionEdit + ZDirectionEdit