summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-12-15 00:27:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-12-15 00:27:27 +0100
commit41fb19a8317ec7a5c8ce323220fb70340c16d529 (patch)
treec5a00a3caa8ed367bc6c0cdb390dea20e08a0ed1
parent2294a2866cf6ee48b8f4557c0fd47ad2fe112a4a (diff)
pt: match input boxes with images better in dialog
-rw-r--r--ftnoir_tracker_pt/FTNoIR_PT_Controls.ui152
1 files changed, 88 insertions, 64 deletions
diff --git a/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui b/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
index 88b65e7e..23753820 100644
--- a/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
+++ b/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
@@ -9,12 +9,12 @@
<rect>
<x>0</x>
<y>0</y>
- <width>460</width>
- <height>621</height>
+ <width>423</width>
+ <height>616</height>
</rect>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -101,7 +101,7 @@
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -429,11 +429,17 @@
<layout class="QVBoxLayout" name="verticalLayout_16">
<item>
<widget class="QTabWidget" name="model_tabs">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="tabShape">
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
- <number>2</number>
+ <number>1</number>
</property>
<property name="usesScrollButtons">
<bool>false</bool>
@@ -451,20 +457,26 @@
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_8">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="title">
<string>Model Dimensions</string>
</property>
<widget class="QSpinBox" name="clip_tlength_spin">
<property name="geometry">
<rect>
- <x>20</x>
- <y>30</y>
+ <x>70</x>
+ <y>35</y>
<width>100</width>
<height>22</height>
</rect>
</property>
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -476,14 +488,14 @@
<widget class="QSpinBox" name="clip_bheight_spin">
<property name="geometry">
<rect>
- <x>105</x>
- <y>110</y>
+ <x>150</x>
+ <y>130</y>
<width>100</width>
<height>22</height>
</rect>
</property>
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -495,8 +507,8 @@
<widget class="QLabel" name="label_44">
<property name="geometry">
<rect>
- <x>30</x>
- <y>50</y>
+ <x>65</x>
+ <y>55</y>
<width>71</width>
<height>111</height>
</rect>
@@ -511,8 +523,8 @@
<widget class="QLabel" name="label_50">
<property name="geometry">
<rect>
- <x>150</x>
- <y>30</y>
+ <x>20</x>
+ <y>40</y>
<width>46</width>
<height>13</height>
</rect>
@@ -524,14 +536,14 @@
<widget class="QSpinBox" name="clip_blength_spin">
<property name="geometry">
<rect>
- <x>15</x>
- <y>155</y>
+ <x>50</x>
+ <y>160</y>
<width>100</width>
<height>22</height>
</rect>
</property>
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -543,14 +555,14 @@
<widget class="QSpinBox" name="clip_theight_spin">
<property name="geometry">
<rect>
- <x>105</x>
+ <x>150</x>
<y>70</y>
<width>100</width>
<height>22</height>
</rect>
</property>
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -562,8 +574,8 @@
<widget class="QLabel" name="label_51">
<property name="geometry">
<rect>
- <x>255</x>
- <y>35</y>
+ <x>290</x>
+ <y>40</y>
<width>46</width>
<height>13</height>
</rect>
@@ -575,8 +587,8 @@
<widget class="QLabel" name="label_45">
<property name="geometry">
<rect>
- <x>265</x>
- <y>60</y>
+ <x>300</x>
+ <y>70</y>
<width>21</width>
<height>111</height>
</rect>
@@ -605,7 +617,7 @@
<widget class="QLabel" name="label_46">
<property name="geometry">
<rect>
- <x>30</x>
+ <x>100</x>
<y>60</y>
<width>111</width>
<height>81</height>
@@ -622,7 +634,7 @@
<property name="geometry">
<rect>
<x>20</x>
- <y>35</y>
+ <y>40</y>
<width>46</width>
<height>13</height>
</rect>
@@ -634,14 +646,14 @@
<widget class="QSpinBox" name="cap_length_spin">
<property name="geometry">
<rect>
- <x>65</x>
- <y>30</y>
+ <x>90</x>
+ <y>40</y>
<width>101</width>
<height>22</height>
</rect>
</property>
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -653,8 +665,8 @@
<widget class="QLabel" name="label_47">
<property name="geometry">
<rect>
- <x>200</x>
- <y>80</y>
+ <x>220</x>
+ <y>90</y>
<width>81</width>
<height>81</height>
</rect>
@@ -669,14 +681,14 @@
<widget class="QSpinBox" name="cap_width_spin">
<property name="geometry">
<rect>
- <x>210</x>
- <y>50</y>
- <width>100</width>
+ <x>270</x>
+ <y>70</y>
+ <width>81</width>
<height>22</height>
</rect>
</property>
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -688,8 +700,8 @@
<widget class="QLabel" name="label_49">
<property name="geometry">
<rect>
- <x>200</x>
- <y>30</y>
+ <x>260</x>
+ <y>40</y>
<width>46</width>
<height>13</height>
</rect>
@@ -701,14 +713,14 @@
<widget class="QSpinBox" name="cap_height_spin">
<property name="geometry">
<rect>
- <x>50</x>
- <y>140</y>
- <width>116</width>
+ <x>20</x>
+ <y>90</y>
+ <width>81</width>
<height>22</height>
</rect>
</property>
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -748,7 +760,7 @@
<item row="2" column="5">
<widget class="QSpinBox" name="m2y_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -774,7 +786,7 @@
<item row="1" column="2">
<widget class="QSpinBox" name="m1x_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -787,7 +799,7 @@
<item row="2" column="2">
<widget class="QSpinBox" name="m1y_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -800,7 +812,7 @@
<item row="3" column="5">
<widget class="QSpinBox" name="m2z_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -813,7 +825,7 @@
<item row="1" column="5">
<widget class="QSpinBox" name="m2x_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -825,15 +837,21 @@
</item>
<item row="0" column="0" colspan="6">
<widget class="QLabel" name="label_56">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="text">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Location of the two remaining model points&lt;br/&gt;with respect to the reference point in default pose&lt;/p&gt;&lt;p&gt;Use any units you want, e.g. millimeters, inches, parsecs...&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Location of the two remaining model points&lt;br/&gt;with respect to the reference point in default pose&lt;/p&gt;&lt;p&gt;Use any units you want, not necessarily centimeters.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QSpinBox" name="m1z_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -930,14 +948,20 @@
</item>
<item>
<widget class="QGroupBox" name="groupBox_10">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="title">
<string>Model position</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
- <item row="1" column="1">
- <widget class="QSpinBox" name="tx_spin">
+ <item row="3" column="1">
+ <widget class="QSpinBox" name="tz_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -947,17 +971,10 @@
</property>
</widget>
</item>
- <item row="0" column="0" colspan="3">
- <widget class="QLabel" name="label_59">
- <property name="text">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Translation from head center to model reference point&lt;br/&gt; in default pose&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QSpinBox" name="ty_spin">
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="tx_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>
@@ -988,10 +1005,17 @@
</property>
</widget>
</item>
- <item row="3" column="1">
- <widget class="QSpinBox" name="tz_spin">
+ <item row="0" column="0" colspan="3">
+ <widget class="QLabel" name="label_59">
+ <property name="text">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Translation from head center to model reference point&lt;br/&gt; in default pose&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QSpinBox" name="ty_spin">
<property name="suffix">
- <string> units</string>
+ <string> cm</string>
</property>
<property name="minimum">
<number>-65535</number>