From 8dc120fde73ff6a0b5cd7c178228754611348b3a Mon Sep 17 00:00:00 2001 From: donovaly Date: Sat, 7 Mar 2020 22:16:36 +0100 Subject: [PATCH] preferences 3D view dialog beautification - rearrange items to grid view - add missing SetEnabled slot - also add some tooltips for the color settings dialog --- src/Gui/DlgSettings3DView.ui | 552 +++++++++++++++----------------- src/Gui/DlgSettingsViewColor.ui | 19 +- 2 files changed, 269 insertions(+), 302 deletions(-) diff --git a/src/Gui/DlgSettings3DView.ui b/src/Gui/DlgSettings3DView.ui index 5ac9ed0186..177bfda7f0 100644 --- a/src/Gui/DlgSettings3DView.ui +++ b/src/Gui/DlgSettings3DView.ui @@ -16,6 +16,9 @@ + + true + 3D View settings @@ -122,14 +125,14 @@ will be shown at the lower left corner in opened files Number of steps by turn when using arrows (default = 8 : step angle = 360/8 = 45 deg) - - 8 - - 4 + 4 - 36 + 36 + + + 8 NaviStepByTurn @@ -217,25 +220,25 @@ report this setting as enabled when seeking support on the FreeCAD forums - - + + Render cache - + - - 'Render Caching' is another way to say 'Rendering Acceleration'. + + 'Render Caching' is another way to say 'Rendering Acceleration'. There are 3 options available to achieve this: 1) 'Auto' (default), let Coin3D decide where to cache. 2) 'Distributed', manually turn on cache for all view provider root node. 3) 'Centralized', manually turn off cache in all nodes of all view provider, and only cache at the scene graph root node. This offers the fastest rendering speed but slower response to any scene changes. - + 0 @@ -256,33 +259,46 @@ but slower response to any scene changes. - - - - - - true - - - Enable animated rotations - - - Enable animation - - - false - - - UseAutoRotation - - - View - - - - - - + + + + true + + + Enable animated rotations + + + Enable animation + + + false + + + UseAutoRotation + + + View + + + + + + + 3D Navigation + + + + + + + Navigation settings set + + + -1 + + + + @@ -299,14 +315,14 @@ Select a set and then press the button to view said configurations. - - + + - Anti-Aliasing + Orbit style - + Rotation orbit style. @@ -328,7 +344,14 @@ Turntable: the part will be rotated around the z-axis. - + + + + Anti-Aliasing + + + + What kind of multisample anti-aliasing is used @@ -366,52 +389,28 @@ Turntable: the part will be rotated around the z-axis. - + New Document Camera Orientation - - - - Navigation settings set - - - -1 - - - - - - - Orbit style - - - - - - - 3D Navigation - - - - + Camera orientation for new documents - + New document scale - + Sets camera zoom for new documents. @@ -437,11 +436,7 @@ The value is the diameter of the sphere to fit on the screen. - - - - - + Zoom operations will be performed at position of mouse pointer @@ -460,131 +455,116 @@ The value is the diameter of the sphere to fit on the screen. - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Zoom step - - - - - - - How much will be zoomed. + + + + + + Zoom step + + + + + + + How much will be zoomed. Zoom step of '1' means a factor of 7.5 for every zoom step. + + + 0.010000000000000 + + + 1.000000000000000 + + + 0.050000000000000 + + + 0.200000000000000 + + + ZoomStep + + + View + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Direction of zoom operations will be inverted - - 0.010000000000000 + + Invert zoom - - 1.000000000000000 - - - 0.050000000000000 - - - 0.200000000000000 + + true - ZoomStep + InvertZoom View - - - - - - Direction of zoom operations will be inverted - - - Invert zoom - - - true - - - InvertZoom - - - View - - - - - - - Prevents view tilting when pinch-zooming. + + + + Prevents view tilting when pinch-zooming. Affects only gesture navigation style. Mouse tilting is not disabled by this setting. - - - Disable touchscreen tilt gesture - - - true - - - DisableTouchTilt - - - View - - - - - - - Rotations in 3D will use current cursor position as center for rotation - - - Rotate at cursor - - - false - - - DragAtCursor - - - View - - - - - - - 6 - - - 0 - - - 0 - - - 0 - - - 0 - - + + + Disable touchscreen tilt gesture + + + true + + + DisableTouchTilt + + + View + + + + + + + Rotations in 3D will use current cursor position as center for rotation + + + Rotate at cursor + + + false + + + DragAtCursor + + + View + + + + @@ -594,53 +574,21 @@ Mouse tilting is not disabled by this setting. - + Size of vertices in the Sketcher workbench - - - - - - QFrame::HLine - - - QFrame::Sunken - - - Qt::Horizontal - - - - - - - 6 - - - 11 - - - 11 - - - 11 - - - 11 - - + - Eye to eye distance for stereo modes: + Eye to eye distance for stereo modes - + Eye-to-eye distance used for stereo projections. @@ -673,33 +621,70 @@ bounding box size of the 3D object that is currently displayed. - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - - 11 - - - 11 - - - 11 - - - 11 - - - 6 - - + + + + + Backlight is enabled with the defined color + + + Enable backlight color + + + EnableBacklight + + + View + + + + + + + false + + + Backlight color + + + + 255 + 255 + 255 + + + + BacklightColor + + + View + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + Intensity of backlight + + + + false @@ -739,55 +724,6 @@ bounding box size of the 3D object that is currently displayed. - - - - false - - - Backlight color - - - - 255 - 255 - 255 - - - - BacklightColor - - - View - - - - - - - - - - Intensity of backlight - - - - - - - Backlight is enabled with the defined color - - - Enable backlight color - - - EnableBacklight - - - View - - - @@ -971,5 +907,21 @@ bounding box size of the 3D object that is currently displayed. + + checkBoxBacklight + toggled(bool) + backlightLabel + setEnabled(bool) + + + 82 + 507 + + + 316 + 507 + + + diff --git a/src/Gui/DlgSettingsViewColor.ui b/src/Gui/DlgSettingsViewColor.ui index 0a444a6fa9..de6de207a0 100644 --- a/src/Gui/DlgSettingsViewColor.ui +++ b/src/Gui/DlgSettingsViewColor.ui @@ -219,6 +219,9 @@ Larger value eases to pick things, but can make small features impossible to sel + + Background color for the model view + Background color @@ -295,6 +298,9 @@ Larger value eases to pick things, but can make small features impossible to sel 0 + + Background will have selected color + @@ -331,6 +337,9 @@ Larger value eases to pick things, but can make small features impossible to sel + + Bottom color + @@ -354,6 +363,9 @@ Larger value eases to pick things, but can make small features impossible to sel false + + Middle color + @@ -375,7 +387,7 @@ Larger value eases to pick things, but can make small features impossible to sel - Background for parts will have selected color gradient + Background will have selected color gradient Color gradient @@ -393,6 +405,9 @@ Larger value eases to pick things, but can make small features impossible to sel + + Top color + @@ -420,7 +435,7 @@ Larger value eases to pick things, but can make small features impossible to sel - Background for parts will have selected color + Background will have selected color Simple color