From 0b62d195282dc1fb3f91bc6166fcf59e2e30e50f Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Thu, 5 Jun 2025 04:16:40 +0200 Subject: [PATCH] Preferences: Better grouping for Selection page (#21750) * Preferences: Better grouping for Selection page * Update src/Gui/PreferencePages/DlgSettingsSelection.ui Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com> * Update src/Gui/PreferencePages/DlgSettingsSelection.ui Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com> --------- Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com> --- .../PreferencePages/DlgSettingsSelection.ui | 188 ++++++++---------- 1 file changed, 85 insertions(+), 103 deletions(-) diff --git a/src/Gui/PreferencePages/DlgSettingsSelection.ui b/src/Gui/PreferencePages/DlgSettingsSelection.ui index 66f2de5507..4d7728e15f 100644 --- a/src/Gui/PreferencePages/DlgSettingsSelection.ui +++ b/src/Gui/PreferencePages/DlgSettingsSelection.ui @@ -17,7 +17,7 @@ - Enable + Viewport selection behavior @@ -25,7 +25,7 @@ - + 28 173 @@ -59,12 +59,75 @@ + + + + + + Radius: + + + + + + + Qt::Orientation::Horizontal + + + + 250 + 10 + + + + + + + + + 120 + 0 + + + + Area for picking elements in 3D view. +Larger value eases to pick things, but can make small features impossible to select. + + + + Qt::InputMethodHint::ImhPreferNumbers + + + px + + + 1 + + + 0.500000000000000 + + + 200.000000000000000 + + + 5.000000000000000 + + + PickRadius + + + View + + + + + - + 225 225 @@ -104,77 +167,18 @@ - - - - - - - Picking - - - - - - - - Radius: - - - - - - - Qt::Horizontal - - - - 250 - 10 - - - - - - - - - 120 - 0 - - - - Area for picking elements in 3D view. -Larger value eases to pick things, but can make small features impossible to select. - - - - Qt::ImhPreferNumbers - - - px - - - 1 - - - 0.500000000000000 - - - 200.000000000000000 - - - 5.000000000000000 - - - PickRadius - - - View - - - - + + + + Preselect the object in 3D view when hovering the cursor over the tree item + + + PreSelection + + + TreeView + + @@ -182,7 +186,7 @@ Larger value eases to pick things, but can make small features impossible to sel - Auto + Tree selection behavior @@ -211,28 +215,6 @@ Larger value eases to pick things, but can make small features impossible to sel - - - - - - - Misc. - - - - - - Preselect the object in 3D view when hovering the cursor over the tree item - - - PreSelection - - - TreeView - - - @@ -265,7 +247,7 @@ Larger value eases to pick things, but can make small features impossible to sel - Qt::Vertical + Qt::Orientation::Vertical @@ -283,6 +265,11 @@ Larger value eases to pick things, but can make small features impossible to sel QPushButton
Gui/Widgets.h
+ + Gui::PrefColorButton + Gui::ColorButton +
Gui/PrefWidgets.h
+
Gui::PrefCheckBox QCheckBox @@ -293,11 +280,6 @@ Larger value eases to pick things, but can make small features impossible to sel QDoubleSpinBox
Gui/PrefWidgets.h
- - Gui::PrefColorButton - Gui::ColorButton -
Gui/PrefWidgets.h
-