Gui: [skip ci] re-arrange items in grid layout

This commit is contained in:
wmayer
2020-03-15 13:02:00 +01:00
parent 1601766af6
commit 167f94a8a6

View File

@@ -196,6 +196,271 @@ will be shown at the lower left corner in opened files</string>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="Gui::PrefCheckBox" name="CheckBox_useVBO">
<property name="toolTip">
<string>If selected, Vertex Buffer Objects (VBO) will be used.
A VBO is an OpenGL feature that provides methods for uploading
vertex data (position, normal vector, color, etc.) to the graphics card.
VBOs offer substantial performance gains because the data resides
in the graphics memory rather than the system memory and so it
can be rendered directly by GPU.
Note: Sometimes this feature may lead to a host of different
issues ranging from graphical anomalies to GPU crash bugs. Remember to
report this setting as enabled when seeking support on the FreeCAD forums</string>
</property>
<property name="text">
<string>Use OpenGL VBO (Vertex Buffer Object)</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseVBO</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="renderCacheLabel">
<property name="text">
<string>Render cache</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="3">
<widget class="QComboBox" name="renderCache">
<property name="toolTip">
<string>'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.</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>Auto</string>
</property>
</item>
<item>
<property name="text">
<string>Distributed</string>
</property>
</item>
<item>
<property name="text">
<string>Centralized</string>
</property>
</item>
</widget>
</item>
<item row="2" 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="3" column="0">
<widget class="QLabel" name="navigationLabel">
<property name="text">
<string>3D Navigation</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="3">
<widget class="QComboBox" name="comboNavigationStyle">
<property name="toolTip">
<string>Navigation settings set</string>
</property>
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
<item row="3" column="4">
<widget class="QPushButton" name="mouseButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>84</width>
<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>
</property>
<property name="text">
<string>Mouse...</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="orbitLabel">
<property name="text">
<string>Orbit style</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="3">
<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>
<property name="text">
<string>Trackball</string>
</property>
</item>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="aliasingLAbel">
<property name="text">
<string>Anti-Aliasing</string>
</property>
</widget>
</item>
<item row="5" column="1" colspan="3">
<widget class="Gui::PrefComboBox" name="comboAliasing">
<property name="toolTip">
<string>What kind of multisample anti-aliasing is used </string>
</property>
<property name="prefEntry" stdset="0">
<cstring>AntiAliasing</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>Line Smoothing</string>
</property>
</item>
<item>
<property name="text">
<string>MSAA 2x</string>
</property>
</item>
<item>
<property name="text">
<string>MSAA 4x</string>
</property>
</item>
<item>
<property name="text">
<string>MSAA 8x</string>
</property>
</item>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="newDocViewLabel">
<property name="text">
<string>New document camera orientation</string>
</property>
</widget>
</item>
<item row="6" column="1" colspan="3">
<widget class="QComboBox" name="comboNewDocView">
<property name="toolTip">
<string>Camera orientation for new documents</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>New document scale</string>
</property>
</widget>
</item>
<item row="7" column="1" colspan="3">
<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="8" 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="8" column="1" colspan="4">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
@@ -246,6 +511,25 @@ Zoom step of '1' means a factor of 7.5 for every zoom step. </string>
</item>
</layout>
</item>
<item row="9" column="0">
<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="10" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxDisableTilt">
<property name="toolTip">
@@ -267,39 +551,39 @@ Mouse tilting is not disabled by this setting.</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="Gui::PrefCheckBox" name="CheckBox_UseAutoRotation">
<property name="enabled">
<bool>true</bool>
</property>
<item row="11" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxDragAtCursor">
<property name="toolTip">
<string>Enable animated rotations</string>
<string>Rotations in 3D will use current cursor position as center for rotation</string>
</property>
<property name="text">
<string>Enable animation</string>
<string>Rotate at cursor</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseAutoRotation</cstring>
<cstring>DragAtCursor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="renderCacheLabel">
<item row="12" column="0">
<widget class="QLabel" name="markerSizeLabel">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Render cache</string>
<string>Marker size:</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>New document scale</string>
<item row="12" column="1" colspan="3">
<widget class="QComboBox" name="boxMarkerSize">
<property name="toolTip">
<string>Size of vertices in the Sketcher workbench</string>
</property>
</widget>
</item>
@@ -340,10 +624,68 @@ bounding box size of the 3D object that is currently displayed. </string>
</property>
</widget>
</item>
<item row="6" column="1" colspan="3">
<widget class="QComboBox" name="comboNewDocView">
<item row="14" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxBacklight">
<property name="toolTip">
<string>Camera orientation for new documents</string>
<string>Backlight is enabled with the defined color</string>
</property>
<property name="text">
<string>Backlight color</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>EnableBacklight</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="14" column="1">
<widget class="Gui::PrefColorButton" name="backlightColor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Backlight color</string>
</property>
<property name="color" stdset="0">
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>BacklightColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="14" column="2">
<spacer name="horizontalSpacer_2">
<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="14" column="3">
<widget class="QLabel" name="backlightLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Intensity</string>
</property>
</widget>
</item>
@@ -387,348 +729,6 @@ bounding box size of the 3D object that is currently displayed. </string>
</property>
</widget>
</item>
<item row="5" column="1" colspan="3">
<widget class="Gui::PrefComboBox" name="comboAliasing">
<property name="toolTip">
<string>What kind of multisample anti-aliasing is used </string>
</property>
<property name="prefEntry" stdset="0">
<cstring>AntiAliasing</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>Line Smoothing</string>
</property>
</item>
<item>
<property name="text">
<string>MSAA 2x</string>
</property>
</item>
<item>
<property name="text">
<string>MSAA 4x</string>
</property>
</item>
<item>
<property name="text">
<string>MSAA 8x</string>
</property>
</item>
</widget>
</item>
<item row="4" column="1" colspan="3">
<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>
<property name="text">
<string>Trackball</string>
</property>
</item>
</widget>
</item>
<item row="3" column="4">
<widget class="QPushButton" name="mouseButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>84</width>
<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>
</property>
<property name="text">
<string>Mouse...</string>
</property>
</widget>
</item>
<item row="14" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxBacklight">
<property name="toolTip">
<string>Backlight is enabled with the defined color</string>
</property>
<property name="text">
<string>Backlight color</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>EnableBacklight</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="navigationLabel">
<property name="text">
<string>3D Navigation</string>
</property>
</widget>
</item>
<item row="7" column="1" colspan="3">
<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="1" column="1" colspan="3">
<widget class="QComboBox" name="renderCache">
<property name="toolTip">
<string>'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.</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>Auto</string>
</property>
</item>
<item>
<property name="text">
<string>Distributed</string>
</property>
</item>
<item>
<property name="text">
<string>Centralized</string>
</property>
</item>
</widget>
</item>
<item row="8" 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="11" 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="6" column="0">
<widget class="QLabel" name="newDocViewLabel">
<property name="text">
<string>New document camera orientation</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="Gui::PrefCheckBox" name="CheckBox_useVBO">
<property name="toolTip">
<string>If selected, Vertex Buffer Objects (VBO) will be used.
A VBO is an OpenGL feature that provides methods for uploading
vertex data (position, normal vector, color, etc.) to the graphics card.
VBOs offer substantial performance gains because the data resides
in the graphics memory rather than the system memory and so it
can be rendered directly by GPU.
Note: Sometimes this feature may lead to a host of different
issues ranging from graphical anomalies to GPU crash bugs. Remember to
report this setting as enabled when seeking support on the FreeCAD forums</string>
</property>
<property name="text">
<string>Use OpenGL VBO (Vertex Buffer Object)</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseVBO</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="9" column="0">
<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="3" column="1" colspan="3">
<widget class="QComboBox" name="comboNavigationStyle">
<property name="toolTip">
<string>Navigation settings set</string>
</property>
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="aliasingLAbel">
<property name="text">
<string>Anti-Aliasing</string>
</property>
</widget>
</item>
<item row="12" column="0">
<widget class="QLabel" name="markerSizeLabel">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Marker size:</string>
</property>
</widget>
</item>
<item row="14" column="1">
<widget class="Gui::PrefColorButton" name="backlightColor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Backlight color</string>
</property>
<property name="color" stdset="0">
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>BacklightColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>View</cstring>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="orbitLabel">
<property name="text">
<string>Orbit style</string>
</property>
</widget>
</item>
<item row="14" column="3">
<widget class="QLabel" name="backlightLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Intensity</string>
</property>
</widget>
</item>
<item row="12" column="1" colspan="3">
<widget class="QComboBox" name="boxMarkerSize">
<property name="toolTip">
<string>Size of vertices in the Sketcher workbench</string>
</property>
</widget>
</item>
<item row="14" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
@@ -857,27 +857,6 @@ report this setting as enabled when seeking support on the FreeCAD forums</strin
<header>Gui/PrefWidgets.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>CheckBox_CornerCoordSystem</tabstop>
<tabstop>CheckBox_ShowFPS</tabstop>
<tabstop>CheckBox_NaviCube</tabstop>
<tabstop>CheckBox_useVBO</tabstop>
<tabstop>CheckBox_UseAutoRotation</tabstop>
<tabstop>comboNavigationStyle</tabstop>
<tabstop>mouseButton</tabstop>
<tabstop>comboOrbitStyle</tabstop>
<tabstop>comboNewDocView</tabstop>
<tabstop>checkBoxZoomAtCursor</tabstop>
<tabstop>spinBoxZoomStep</tabstop>
<tabstop>checkBoxInvertZoom</tabstop>
<tabstop>checkBoxDragAtCursor</tabstop>
<tabstop>FloatSpinBox_EyeDistance</tabstop>
<tabstop>checkBoxBacklight</tabstop>
<tabstop>backlightColor</tabstop>
<tabstop>sliderIntensity</tabstop>
<tabstop>radioPerspective</tabstop>
<tabstop>radioOrthographic</tabstop>
</tabstops>
<resources/>
<connections>
<connection>