[GUI] some preferences cleanup

as requested and discussed in https://forum.freecadweb.org/viewtopic.php?f=27&t=43984#p376950
and following
This commit is contained in:
donovaly
2020-03-15 21:10:54 +01:00
committed by wwmayer
parent 8bfc0221b3
commit 1b957e5811
2 changed files with 427 additions and 292 deletions

View File

@@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>477</width> <width>477</width>
<height>500</height> <height>407</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@@ -15,7 +15,6 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<widget class="QGroupBox" name="GroupBoxGeneral"> <widget class="QGroupBox" name="GroupBoxGeneral">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
@@ -91,11 +90,11 @@ will be shown at the lower left corner in opened files</string>
<property name="title"> <property name="title">
<string>Rendering</string> <string>Rendering</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item row="0" column="0" colspan="2"> <item>
<widget class="Gui::PrefCheckBox" name="CheckBox_useVBO"> <widget class="Gui::PrefCheckBox" name="CheckBox_useVBO">
<property name="toolTip"> <property name="toolTip">
<string>If selected, Vertex Buffer Objects (VBO) will be used. <string>If selected, Vertex Buffer Objects (VBO) will be used.
A VBO is an OpenGL feature that provides methods for uploading A VBO is an OpenGL feature that provides methods for uploading
vertex data (position, normal vector, color, etc.) to the graphics card. vertex data (position, normal vector, color, etc.) to the graphics card.
VBOs offer substantial performance gains because the data resides VBOs offer substantial performance gains because the data resides
@@ -105,27 +104,35 @@ can be rendered directly by GPU.
Note: Sometimes this feature may lead to a host of different Note: Sometimes this feature may lead to a host of different
issues ranging from graphical anomalies to GPU crash bugs. Remember to issues ranging from graphical anomalies to GPU crash bugs. Remember to
report this setting as enabled when seeking support on the FreeCAD forums</string> report this setting as enabled when seeking support on the FreeCAD forums</string>
</property> </property>
<property name="text"> <property name="text">
<string>Use OpenGL VBO (Vertex Buffer Object)</string> <string>Use OpenGL VBO (Vertex Buffer Object)</string>
</property> </property>
<property name="prefEntry" stdset="0"> <property name="prefEntry" stdset="0">
<cstring>UseVBO</cstring> <cstring>UseVBO</cstring>
</property> </property>
<property name="prefPath" stdset="0"> <property name="prefPath" stdset="0">
<cstring>View</cstring> <cstring>View</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="renderCacheLabel"> <widget class="QLabel" name="renderCacheLabel">
<property name="text"> <property name="text">
<string>Render cache</string> <string>Render cache</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" colspan="3"> <item row="0" column="4">
<widget class="QComboBox" name="renderCache"> <widget class="QComboBox" name="renderCache">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="toolTip"> <property name="toolTip">
<string>'Render Caching' is another way to say 'Rendering Acceleration'. <string>'Render Caching' is another way to say 'Rendering Acceleration'.
There are 3 options available to achieve this: There are 3 options available to achieve this:
@@ -155,15 +162,21 @@ but slower response to any scene changes.</string>
</item> </item>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="1" column="0">
<widget class="QLabel" name="aliasingLAbel"> <widget class="QLabel" name="aliasingLAbel">
<property name="text"> <property name="text">
<string>Anti-Aliasing</string> <string>Anti-Aliasing</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1" colspan="3"> <item row="1" column="4">
<widget class="Gui::PrefComboBox" name="comboAliasing"> <widget class="Gui::PrefComboBox" name="comboAliasing">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="toolTip"> <property name="toolTip">
<string>What kind of multisample anti-aliasing is used </string> <string>What kind of multisample anti-aliasing is used </string>
</property> </property>
@@ -200,7 +213,7 @@ but slower response to any scene changes.</string>
</item> </item>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="2" column="0">
<widget class="QLabel" name="markerSizeLabel"> <widget class="QLabel" name="markerSizeLabel">
<property name="toolTip"> <property name="toolTip">
<string/> <string/>
@@ -210,22 +223,34 @@ but slower response to any scene changes.</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="1" colspan="3"> <item row="2" column="4">
<widget class="QComboBox" name="boxMarkerSize"> <widget class="QComboBox" name="boxMarkerSize">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Size of vertices in the Sketcher workbench</string> <string>Size of vertices in the Sketcher workbench</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0"> <item row="3" column="0">
<widget class="QLabel" name="textLabel1"> <widget class="QLabel" name="textLabel1">
<property name="text"> <property name="text">
<string>Eye to eye distance for stereo modes</string> <string>Eye to eye distance for stereo modes</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1" colspan="3"> <item row="3" column="4">
<widget class="Gui::PrefDoubleSpinBox" name="FloatSpinBox_EyeDistance"> <widget class="Gui::PrefDoubleSpinBox" name="FloatSpinBox_EyeDistance">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Eye-to-eye distance used for stereo projections. <string>Eye-to-eye distance used for stereo projections.
The specified value is a factor that will be multiplied with the The specified value is a factor that will be multiplied with the
@@ -254,7 +279,7 @@ bounding box size of the 3D object that is currently displayed. </string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="0"> <item row="4" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxBacklight"> <widget class="Gui::PrefCheckBox" name="checkBoxBacklight">
<property name="toolTip"> <property name="toolTip">
<string>Backlight is enabled with the defined color</string> <string>Backlight is enabled with the defined color</string>
@@ -270,7 +295,7 @@ bounding box size of the 3D object that is currently displayed. </string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="1"> <item row="4" column="1">
<widget class="Gui::PrefColorButton" name="backlightColor"> <widget class="Gui::PrefColorButton" name="backlightColor">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@@ -293,7 +318,20 @@ bounding box size of the 3D object that is currently displayed. </string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="2"> <item row="4" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="3">
<widget class="QLabel" name="backlightLabel"> <widget class="QLabel" name="backlightLabel">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@@ -309,7 +347,7 @@ bounding box size of the 3D object that is currently displayed. </string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="3"> <item row="4" column="4">
<widget class="Gui::PrefSlider" name="sliderIntensity"> <widget class="Gui::PrefSlider" name="sliderIntensity">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@@ -320,6 +358,12 @@ bounding box size of the 3D object that is currently displayed. </string>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Intensity of the backlight</string> <string>Intensity of the backlight</string>
</property> </property>
@@ -350,6 +394,8 @@ bounding box size of the 3D object that is currently displayed. </string>
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
</layout>
</widget> </widget>
</item> </item>
<item> <item>
@@ -463,17 +509,6 @@ bounding box size of the 3D object that is currently displayed. </string>
<extends>QDoubleSpinBox</extends> <extends>QDoubleSpinBox</extends>
<header>Gui/PrefWidgets.h</header> <header>Gui/PrefWidgets.h</header>
</customwidget> </customwidget>
<customwidget>
<class>PrefUnitSpinBox</class>
<extends>QWidget</extends>
<header>Gui/PrefWidgets.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>Gui::PrefSpinBox</class>
<extends>QSpinBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
</customwidgets> </customwidgets>
<resources/> <resources/>
<connections> <connections>

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>540</width> <width>500</width>
<height>472</height> <height>363</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@@ -58,7 +58,7 @@
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType"> <property name="sizeType">
<enum>QSizePolicy::Ignored</enum> <enum>QSizePolicy::MinimumExpanding</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@@ -119,258 +119,358 @@
<property name="title"> <property name="title">
<string>Navigation</string> <string>Navigation</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item row="0" column="0"> <item>
<widget class="QLabel" name="navigationLabel"> <layout class="QGridLayout" name="gridLayout">
<property name="text"> <item row="6" column="0">
<string>3D Navigation</string> <widget class="Gui::PrefCheckBox" name="checkBoxInvertZoom">
</property> <property name="toolTip">
</widget> <string>Direction of zoom operations will be inverted</string>
</item> </property>
<item row="0" column="1" colspan="2"> <property name="text">
<widget class="QComboBox" name="comboNavigationStyle"> <string>Invert zoom</string>
<property name="toolTip"> </property>
<string>Navigation settings set</string> <property name="checked">
</property> <bool>true</bool>
<property name="currentIndex"> </property>
<number>-1</number> <property name="prefEntry" stdset="0">
</property> <cstring>InvertZoom</cstring>
</widget> </property>
</item> <property name="prefPath" stdset="0">
<item row="0" column="3"> <cstring>View</cstring>
<widget class="QPushButton" name="mouseButton"> </property>
<property name="sizePolicy"> </widget>
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> </item>
<horstretch>0</horstretch> <item row="0" column="2">
<verstretch>0</verstretch> <widget class="QPushButton" name="mouseButton">
</sizepolicy> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<property name="minimumSize"> <horstretch>0</horstretch>
<size> <verstretch>0</verstretch>
<width>84</width> </sizepolicy>
<height>0</height> </property>
</size> <property name="minimumSize">
</property> <size>
<property name="toolTip"> <width>60</width>
<string>List the mouse button configs for each chosen navigation setting. <height>0</height>
</size>
</property>
<property name="toolTip">
<string>List the mouse button configs for each chosen navigation setting.
Select a set and then press the button to view said configurations.</string> Select a set and then press the button to view said configurations.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Mouse...</string> <string>Mouse...</string>
</property> </property>
</widget> </widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="orbitLabel">
<property name="text">
<string>Orbit style</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="comboOrbitStyle">
<property name="toolTip">
<string>Rotation orbit style.
Trackball: moving the mouse horizontally will rotate the part around the y-axis
Turntable: the part will be rotated around the z-axis.</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>Turntable</string>
</property>
</item> </item>
<item> <item row="0" column="0">
<property name="text"> <widget class="QLabel" name="navigationLabel">
<string>Trackball</string> <property name="text">
</property> <string>3D Navigation</string>
</property>
</widget>
</item> </item>
</widget> <item row="3" column="0">
</item> <widget class="QLabel" name="label_2">
<item row="2" column="0"> <property name="text">
<widget class="QLabel" name="newDocViewLabel"> <string>New document scale</string>
<property name="text"> </property>
<string>New document camera orientation</string> </widget>
</property> </item>
</widget> <item row="7" column="0">
</item> <widget class="Gui::PrefCheckBox" name="checkBoxDisableTilt">
<item row="2" column="1" colspan="2"> <property name="toolTip">
<widget class="QComboBox" name="comboNewDocView"> <string>Prevents view tilting when pinch-zooming.
<property name="toolTip">
<string>Camera orientation for new documents</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>New document scale</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="PrefUnitSpinBox" name="qspinNewDocScale" native="true">
<property name="toolTip">
<string>Sets camera zoom for new documents.
The value is the diameter of the sphere to fit on the screen.</string>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="minimum" stdset="0">
<double>0.000010000000000</double>
</property>
<property name="maximum" stdset="0">
<double>10000000.000000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>NewDocumentCameraScale</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
<property name="rawValue" stdset="0">
<double>100.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="0" colspan="4">
<widget class="Gui::PrefCheckBox" name="CheckBox_UseAutoRotation">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Enable animated rotations</string>
</property>
<property name="text">
<string>Enable animation</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseAutoRotation</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxZoomAtCursor">
<property name="toolTip">
<string>Zoom operations will be performed at position of mouse pointer</string>
</property>
<property name="text">
<string>Zoom at cursor</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>ZoomAtCursor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label">
<property name="text">
<string>Zoom step</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="Gui::PrefDoubleSpinBox" name="spinBoxZoomStep">
<property name="toolTip">
<string>How much will be zoomed.
Zoom step of '1' means a factor of 7.5 for every zoom step. </string>
</property>
<property name="minimum">
<double>0.010000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.050000000000000</double>
</property>
<property name="value">
<double>0.200000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>ZoomStep</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="6" column="0" colspan="4">
<widget class="Gui::PrefCheckBox" name="checkBoxInvertZoom">
<property name="toolTip">
<string>Direction of zoom operations will be inverted</string>
</property>
<property name="text">
<string>Invert zoom</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>InvertZoom</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="7" column="0" colspan="4">
<widget class="Gui::PrefCheckBox" name="checkBoxDisableTilt">
<property name="toolTip">
<string>Prevents view tilting when pinch-zooming.
Affects only gesture navigation style. Affects only gesture navigation style.
Mouse tilting is not disabled by this setting.</string> Mouse tilting is not disabled by this setting.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Disable touchscreen tilt gesture</string> <string>Disable touchscreen tilt gesture</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="prefEntry" stdset="0"> <property name="prefEntry" stdset="0">
<cstring>DisableTouchTilt</cstring> <cstring>DisableTouchTilt</cstring>
</property> </property>
<property name="prefPath" stdset="0"> <property name="prefPath" stdset="0">
<cstring>View</cstring> <cstring>View</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="0" colspan="4"> <item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxDragAtCursor"> <widget class="QLabel" name="orbitLabel">
<property name="toolTip"> <property name="text">
<string>Rotations in 3D will use current cursor position as center for rotation</string> <string>Orbit style</string>
</property> </property>
<property name="text"> </widget>
<string>Rotate at cursor</string> </item>
</property> <item row="3" column="3">
<property name="checked"> <widget class="PrefUnitSpinBox" name="qspinNewDocScale" native="true">
<bool>false</bool> <property name="minimumSize">
</property> <size>
<property name="prefEntry" stdset="0"> <width>120</width>
<cstring>DragAtCursor</cstring> <height>20</height>
</property> </size>
<property name="prefPath" stdset="0"> </property>
<cstring>View</cstring> <property name="maximumSize">
</property> <size>
</widget> <width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Sets camera zoom for new documents.
The value is the diameter of the sphere to fit on the screen.</string>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="minimum" stdset="0">
<double>0.000010000000000</double>
</property>
<property name="maximum" stdset="0">
<double>10000000.000000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>NewDocumentCameraScale</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
<property name="rawValue" stdset="0">
<double>100.000000000000000</double>
</property>
</widget>
</item>
<item row="5" column="3">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Zoom step</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefDoubleSpinBox" name="spinBoxZoomStep">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>How much will be zoomed.
Zoom step of '1' means a factor of 7.5 for every zoom step. </string>
</property>
<property name="minimum">
<double>0.010000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.050000000000000</double>
</property>
<property name="value">
<double>0.200000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>ZoomStep</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="4" column="0">
<widget class="Gui::PrefCheckBox" name="CheckBox_UseAutoRotation">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Enable animated rotations</string>
</property>
<property name="text">
<string>Enable animation</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseAutoRotation</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QComboBox" name="comboOrbitStyle">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Rotation orbit style.
Trackball: moving the mouse horizontally will rotate the part around the y-axis
Turntable: the part will be rotated around the z-axis.</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>Turntable</string>
</property>
</item>
<item>
<property name="text">
<string>Trackball</string>
</property>
</item>
</widget>
</item>
<item row="5" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxZoomAtCursor">
<property name="toolTip">
<string>Zoom operations will be performed at position of mouse pointer</string>
</property>
<property name="text">
<string>Zoom at cursor</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>ZoomAtCursor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="comboNavigationStyle">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Navigation settings set</string>
</property>
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxDragAtCursor">
<property name="toolTip">
<string>Rotations in 3D will use current cursor position as center for rotation</string>
</property>
<property name="text">
<string>Rotate at cursor</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>DragAtCursor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QComboBox" name="comboNewDocView">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Camera orientation for new documents</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="newDocViewLabel">
<property name="text">
<string>New document camera orientation</string>
</property>
</widget>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>