| <?xml version="1.0" encoding="UTF-8"?> | |
| <ui version="4.0"> | |
| <class>MeshGui::DlgSettingsMeshView</class> | |
| <widget class="QWidget" name="MeshGui::DlgSettingsMeshView"> | |
| <property name="geometry"> | |
| <rect> | |
| <x>0</x> | |
| <y>0</y> | |
| <width>559</width> | |
| <height>396</height> | |
| </rect> | |
| </property> | |
| <property name="windowTitle"> | |
| <string>Mesh View</string> | |
| </property> | |
| <layout class="QGridLayout"> | |
| <property name="leftMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="topMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="rightMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="bottomMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="spacing"> | |
| <number>6</number> | |
| </property> | |
| <item row="0" column="0"> | |
| <widget class="QGroupBox" name="groupBox"> | |
| <property name="title"> | |
| <string>Default Appearance for New Meshes</string> | |
| </property> | |
| <layout class="QGridLayout"> | |
| <property name="leftMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="topMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="rightMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="bottomMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="spacing"> | |
| <number>6</number> | |
| </property> | |
| <item row="0" column="0"> | |
| <layout class="QGridLayout"> | |
| <property name="leftMargin"> | |
| <number>0</number> | |
| </property> | |
| <property name="topMargin"> | |
| <number>0</number> | |
| </property> | |
| <property name="rightMargin"> | |
| <number>0</number> | |
| </property> | |
| <property name="bottomMargin"> | |
| <number>0</number> | |
| </property> | |
| <property name="spacing"> | |
| <number>6</number> | |
| </property> | |
| <item row="0" column="0"> | |
| <widget class="QLabel" name="labelFaceColor"> | |
| <property name="text"> | |
| <string>Default mesh color</string> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="0" column="1"> | |
| <widget class="Gui::PrefColorButton" name="buttonMeshColor"> | |
| <property name="toolTip"> | |
| <string>Default color for new meshes</string> | |
| </property> | |
| <property name="color"> | |
| <color> | |
| <red>204</red> | |
| <green>204</green> | |
| <blue>204</blue> | |
| </color> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>MeshColor</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="0" column="2"> | |
| <spacer> | |
| <property name="orientation"> | |
| <enum>Qt::Horizontal</enum> | |
| </property> | |
| <property name="sizeType"> | |
| <enum>QSizePolicy::Maximum</enum> | |
| </property> | |
| <property name="sizeHint" stdset="0"> | |
| <size> | |
| <width>41</width> | |
| <height>20</height> | |
| </size> | |
| </property> | |
| </spacer> | |
| </item> | |
| <item row="0" column="3"> | |
| <widget class="QLabel" name="labelMeshTransparency"> | |
| <property name="text"> | |
| <string>Mesh transparency</string> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="0" column="4"> | |
| <widget class="Gui::PrefSpinBox" name="spinMeshTransparency"> | |
| <property name="suffix"> | |
| <string notr="true">%</string> | |
| </property> | |
| <property name="maximum"> | |
| <number>100</number> | |
| </property> | |
| <property name="singleStep"> | |
| <number>5</number> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>MeshTransparency</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="1" column="0"> | |
| <widget class="QLabel" name="labelLineColor"> | |
| <property name="text"> | |
| <string>Default line color</string> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="1" column="1"> | |
| <widget class="Gui::PrefColorButton" name="buttonLineColor"> | |
| <property name="toolTip"> | |
| <string>Default line color for new meshes</string> | |
| </property> | |
| <property name="color"> | |
| <color> | |
| <red>0</red> | |
| <green>0</green> | |
| <blue>0</blue> | |
| </color> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>LineColor</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="1" column="2"> | |
| <spacer> | |
| <property name="orientation"> | |
| <enum>Qt::Horizontal</enum> | |
| </property> | |
| <property name="sizeType"> | |
| <enum>QSizePolicy::Maximum</enum> | |
| </property> | |
| <property name="sizeHint" stdset="0"> | |
| <size> | |
| <width>41</width> | |
| <height>20</height> | |
| </size> | |
| </property> | |
| </spacer> | |
| </item> | |
| <item row="1" column="3"> | |
| <widget class="QLabel" name="labelLineTransparency"> | |
| <property name="text"> | |
| <string>Line transparency</string> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="1" column="4"> | |
| <widget class="Gui::PrefSpinBox" name="spinLineTransparency"> | |
| <property name="suffix"> | |
| <string notr="true">%</string> | |
| </property> | |
| <property name="maximum"> | |
| <number>100</number> | |
| </property> | |
| <property name="singleStep"> | |
| <number>5</number> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>LineTransparency</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="2" column="0"> | |
| <widget class="QLabel" name="labelBackfaceColor"> | |
| <property name="text"> | |
| <string>Backface color</string> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="2" column="1"> | |
| <widget class="Gui::PrefColorButton" name="buttonBackfaceColor"> | |
| <property name="enabled"> | |
| <bool>false</bool> | |
| </property> | |
| <property name="color"> | |
| <color> | |
| <red>204</red> | |
| <green>204</green> | |
| <blue>204</blue> | |
| </color> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>BackfaceColor</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="2" column="2" colspan="3"> | |
| <spacer> | |
| <property name="orientation"> | |
| <enum>Qt::Horizontal</enum> | |
| </property> | |
| <property name="sizeHint" stdset="0"> | |
| <size> | |
| <width>191</width> | |
| <height>20</height> | |
| </size> | |
| </property> | |
| </spacer> | |
| </item> | |
| <item row="3" column="0"> | |
| <widget class="Gui::PrefCheckBox" name="checkboxRendering"> | |
| <property name="toolTip"> | |
| <string>The bottom side of the surface will be rendered the same way as the top side. | |
| If not checked, it depends on the option "Enable backlight color" | |
| (preferences section Display -> 3D View). Either the backlight color | |
| will be used or black.</string> | |
| </property> | |
| <property name="text"> | |
| <string>Two-side rendering</string> | |
| </property> | |
| <property name="checked"> | |
| <bool>false</bool> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>TwoSideRendering</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="3" column="1" colspan="4"> | |
| <widget class="Gui::PrefCheckBox" name="checkboxBoundbox"> | |
| <property name="toolTip"> | |
| <string>A bounding box will be displayed</string> | |
| </property> | |
| <property name="text"> | |
| <string>Show bounding-box for highlighted or selected meshes</string> | |
| </property> | |
| <property name="checked"> | |
| <bool>false</bool> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>ShowBoundingBox</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| </layout> | |
| </item> | |
| <item row="0" column="1"> | |
| <spacer> | |
| <property name="orientation"> | |
| <enum>Qt::Horizontal</enum> | |
| </property> | |
| <property name="sizeType"> | |
| <enum>QSizePolicy::Maximum</enum> | |
| </property> | |
| <property name="sizeHint" stdset="0"> | |
| <size> | |
| <width>71</width> | |
| <height>20</height> | |
| </size> | |
| </property> | |
| </spacer> | |
| </item> | |
| </layout> | |
| </widget> | |
| </item> | |
| <item row="1" column="0"> | |
| <widget class="QGroupBox" name="GroupBox12"> | |
| <property name="title"> | |
| <string>Smoothing</string> | |
| </property> | |
| <layout class="QGridLayout"> | |
| <property name="leftMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="topMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="rightMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="bottomMargin"> | |
| <number>9</number> | |
| </property> | |
| <property name="spacing"> | |
| <number>6</number> | |
| </property> | |
| <item row="0" column="0"> | |
| <widget class="Gui::PrefCheckBox" name="checkboxNormal"> | |
| <property name="toolTip"> | |
| <string>If this option is set Phong shading is used, otherwise flat shading. | |
| Shading defines the appearance of surfaces. | |
| With flat shading the surface normals are not defined per vertex that leads | |
| to an unreal appearance for curved surfaces while using Phong shading leads | |
| to a smoother appearance. | |
| </string> | |
| </property> | |
| <property name="text"> | |
| <string>Define normal per vertex</string> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>VertexPerNormals</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="1" column="0"> | |
| <widget class="QLabel" name="labelAngle"> | |
| <property name="toolTip"> | |
| <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">This is the smallest angle between two faces where normals get calculated to do flat shading.</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">If the angle between the normals of two neighbouring faces is less than the crease angle, the faces will be smoothshaded around their common edge.</p></body></html></string> | |
| </property> | |
| <property name="text"> | |
| <string>Crease angle</string> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="1" column="1"> | |
| <widget class="Gui::PrefDoubleSpinBox" name="spinboxAngle"> | |
| <property name="enabled"> | |
| <bool>false</bool> | |
| </property> | |
| <property name="toolTip"> | |
| <string>Crease angle is a threshold angle between two faces. | |
| If face angle ≥ crease angle, facet shading is used | |
| If face angle < crease angle, smooth shading is used</string> | |
| </property> | |
| <property name="suffix"> | |
| <string notr="true"> °</string> | |
| </property> | |
| <property name="maximum"> | |
| <double>180.000000000000000</double> | |
| </property> | |
| <property name="prefEntry" stdset="0"> | |
| <cstring>CreaseAngle</cstring> | |
| </property> | |
| <property name="prefPath" stdset="0"> | |
| <cstring>Mod/Mesh</cstring> | |
| </property> | |
| </widget> | |
| </item> | |
| <item row="1" column="2"> | |
| <spacer> | |
| <property name="orientation"> | |
| <enum>Qt::Horizontal</enum> | |
| </property> | |
| <property name="sizeHint" stdset="0"> | |
| <size> | |
| <width>221</width> | |
| <height>20</height> | |
| </size> | |
| </property> | |
| </spacer> | |
| </item> | |
| <item row="2" column="0" colspan="3"> | |
| <widget class="QLabel" name="labelHint"> | |
| <property name="text"> | |
| <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><span style=" font-weight:600;">Hint</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">Defining the normals per vertex is also called <span style=" font-style:italic;">Phong shading</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; font-style:italic;"><span style=" font-style:normal;">while defining the normals per face is called </span>Flat shading<span style=" font-style:normal;">.</span></p></body></html></string> | |
| </property> | |
| </widget> | |
| </item> | |
| </layout> | |
| </widget> | |
| </item> | |
| <item row="2" column="0"> | |
| <spacer> | |
| <property name="orientation"> | |
| <enum>Qt::Vertical</enum> | |
| </property> | |
| <property name="sizeHint" stdset="0"> | |
| <size> | |
| <width>541</width> | |
| <height>41</height> | |
| </size> | |
| </property> | |
| </spacer> | |
| </item> | |
| </layout> | |
| </widget> | |
| <layoutdefault spacing="6" margin="11"/> | |
| <customwidgets> | |
| <customwidget> | |
| <class>Gui::ColorButton</class> | |
| <extends>QPushButton</extends> | |
| <header>Gui/Widgets.h</header> | |
| </customwidget> | |
| <customwidget> | |
| <class>Gui::PrefSpinBox</class> | |
| <extends>QSpinBox</extends> | |
| <header>Gui/PrefWidgets.h</header> | |
| </customwidget> | |
| <customwidget> | |
| <class>Gui::PrefColorButton</class> | |
| <extends>Gui::ColorButton</extends> | |
| <header>Gui/PrefWidgets.h</header> | |
| </customwidget> | |
| <customwidget> | |
| <class>Gui::PrefCheckBox</class> | |
| <extends>QCheckBox</extends> | |
| <header>Gui/PrefWidgets.h</header> | |
| </customwidget> | |
| <customwidget> | |
| <class>Gui::PrefDoubleSpinBox</class> | |
| <extends>QDoubleSpinBox</extends> | |
| <header>Gui/PrefWidgets.h</header> | |
| </customwidget> | |
| </customwidgets> | |
| <tabstops> | |
| <tabstop>buttonMeshColor</tabstop> | |
| <tabstop>buttonLineColor</tabstop> | |
| <tabstop>buttonBackfaceColor</tabstop> | |
| <tabstop>spinMeshTransparency</tabstop> | |
| <tabstop>spinLineTransparency</tabstop> | |
| <tabstop>checkboxRendering</tabstop> | |
| <tabstop>checkboxBoundbox</tabstop> | |
| <tabstop>checkboxNormal</tabstop> | |
| <tabstop>spinboxAngle</tabstop> | |
| </tabstops> | |
| <resources/> | |
| <connections> | |
| <connection> | |
| <sender>checkboxNormal</sender> | |
| <signal>toggled(bool)</signal> | |
| <receiver>spinboxAngle</receiver> | |
| <slot>setEnabled(bool)</slot> | |
| <hints> | |
| <hint type="sourcelabel"> | |
| <x>110</x> | |
| <y>147</y> | |
| </hint> | |
| <hint type="destinationlabel"> | |
| <x>266</x> | |
| <y>181</y> | |
| </hint> | |
| </hints> | |
| </connection> | |
| <connection> | |
| <sender>checkboxRendering</sender> | |
| <signal>toggled(bool)</signal> | |
| <receiver>buttonBackfaceColor</receiver> | |
| <slot>setEnabled(bool)</slot> | |
| <hints> | |
| <hint type="sourcelabel"> | |
| <x>93</x> | |
| <y>53</y> | |
| </hint> | |
| <hint type="destinationlabel"> | |
| <x>210</x> | |
| <y>71</y> | |
| </hint> | |
| </hints> | |
| </connection> | |
| </connections> | |
| </ui> | |