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

This commit is contained in:
Chris Hennes
2022-03-28 10:11:33 -05:00
parent 52daf6c546
commit 10080efb0c

View File

@@ -83,22 +83,6 @@
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>61</width>
<height>54</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0">
<layout class="QGridLayout">
<property name="margin">
@@ -107,28 +91,6 @@
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="2">
<widget class="Gui::QuantitySpinBox" name="thickness">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="suffix" stdset="0">
<string> mm</string>
</property>
<property name="decimals" stdset="0">
<number>3</number>
</property>
<property name="prefEntry" stdset="0">
<cstring>Thickness</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Inspection/Inspection</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="textLabel1">
<property name="text">
@@ -136,6 +98,22 @@
</property>
</widget>
</item>
<item row="0" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>91</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="2">
<widget class="Gui::QuantitySpinBox" name="searchRadius">
<property name="unit" stdset="0">
@@ -168,22 +146,6 @@
</property>
</widget>
</item>
<item row="0" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>91</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<spacer>
<property name="orientation">
@@ -200,9 +162,47 @@
</property>
</spacer>
</item>
</layout>
<item row="1" column="2">
<widget class="Gui::QuantitySpinBox" name="thickness">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="suffix" stdset="0">
<string> mm</string>
</property>
<property name="decimals" stdset="0">
<number>3</number>
</property>
<property name="prefEntry" stdset="0">
<cstring>Thickness</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Inspection/Inspection</cstring>
</property>
</widget>
</item>
</layout>
</item>
</layout>
<item row="0" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>61</width>
<height>54</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" colspan="2">