Raytracing: PR4556 Step 3: sort QGridLayout by row-col

This commit is contained in:
Chris Hennes
2022-03-28 10:13:56 -05:00
parent dfc27ad5f3
commit e461e8ebe3

View File

@@ -20,89 +20,6 @@
<property name="spacing">
<number>6</number>
</property>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox5">
<property name="title">
<string>Mesh export settings</string>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>10</number>
</property>
<item>
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="textLabel2">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Max mesh deviation:</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefDoubleSpinBox" name="prefFloatSpinBox1">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="value">
<double>0.100000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>MeshDeviation</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Raytracing</cstring>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="prefCheckBox8">
<property name="text">
<string>Do not calculate vertex normals</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>NotWriteVertexNormals</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Raytracing</cstring>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="prefCheckBox9">
<property name="text">
<string>Write u,v coordinates</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>WriteUVCoordinates</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Raytracing</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
@@ -111,6 +28,13 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout2">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>POV-Ray executable:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::PrefFileChooser" name="prefFileChooser2">
<property name="prefEntry" stdset="0">
@@ -121,13 +45,6 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>POV-Ray executable:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
@@ -252,17 +169,10 @@
<property name="spacing">
<number>6</number>
</property>
<item row="3" column="0">
<widget class="QLabel" name="textLabel1_3">
<item row="1" column="0">
<widget class="QLabel" name="textLabel1">
<property name="text">
<string>Part file name:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="textLabel1_2">
<property name="text">
<string>Camera file name:</string>
<string>Default Project dir:</string>
</property>
</widget>
</item>
@@ -285,10 +195,10 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="textLabel1">
<item row="2" column="0">
<widget class="QLabel" name="textLabel1_2">
<property name="text">
<string>Default Project dir:</string>
<string>Camera file name:</string>
</property>
</widget>
</item>
@@ -308,6 +218,13 @@
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="textLabel1_3">
<property name="text">
<string>Part file name:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefLineEdit" name="prefLineEdit3">
<property name="toolTip">
@@ -329,6 +246,89 @@
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox5">
<property name="title">
<string>Mesh export settings</string>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>10</number>
</property>
<item>
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="textLabel2">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Max mesh deviation:</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefDoubleSpinBox" name="prefFloatSpinBox1">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="value">
<double>0.100000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>MeshDeviation</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Raytracing</cstring>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="prefCheckBox8">
<property name="text">
<string>Do not calculate vertex normals</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>NotWriteVertexNormals</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Raytracing</cstring>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="prefCheckBox9">
<property name="text">
<string>Write u,v coordinates</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>WriteUVCoordinates</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Raytracing</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0">
<spacer>
<property name="orientation">