diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-04-24 23:34:36 +0200 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-24 23:34:36 +0200 |
commit | 4039631386ae84abbf476263b28c92d91ac23b81 (patch) | |
tree | f55a4139c1ef03e20a9d7dbf5948d7964fc6db3d /tracker-easy/tracker-easy-settings.ui | |
parent | 77a469de95a498a4860b7da72b38508d40c2bede (diff) |
Adding support for four points model.
Can't get it to work correctly though.
Diffstat (limited to 'tracker-easy/tracker-easy-settings.ui')
-rw-r--r-- | tracker-easy/tracker-easy-settings.ui | 261 |
1 files changed, 212 insertions, 49 deletions
diff --git a/tracker-easy/tracker-easy-settings.ui b/tracker-easy/tracker-easy-settings.ui index 2ec56a04..9b9c67a8 100644 --- a/tracker-easy/tracker-easy-settings.ui +++ b/tracker-easy/tracker-easy-settings.ui @@ -9,7 +9,7 @@ <rect> <x>0</x> <y>0</y> - <width>418</width> + <width>422</width> <height>724</height> </rect> </property> @@ -115,7 +115,7 @@ <locale language="English" country="UnitedStates"/> </property> <property name="currentIndex"> - <number>0</number> + <number>1</number> </property> <widget class="QWidget" name="tabTracker"> <attribute name="title"> @@ -871,22 +871,35 @@ </item> </layout> </widget> - <widget class="QWidget" name="tabCustom"> + <widget class="QWidget" name="tabModelFourPoints"> <property name="enabled"> - <bool>false</bool> + <bool>true</bool> </property> <attribute name="title"> - <string>Custom</string> + <string>Four</string> </attribute> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QGroupBox" name="groupBox_7"> <property name="title"> - <string>Model Dimensions</string> + <string>Model vertices</string> </property> <layout class="QGridLayout" name="gridLayout_5"> - <item row="3" column="1"> - <widget class="QLabel" name="label_57"> + <item row="0" column="6"> + <widget class="QSpinBox" name="iSpinFourTopZ"> + <property name="suffix"> + <string> mm</string> + </property> + <property name="minimum"> + <number>-65535</number> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_68"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> @@ -894,12 +907,25 @@ </sizepolicy> </property> <property name="text"> - <string>z:</string> + <string>x:</string> </property> </widget> </item> - <item row="2" column="5"> - <widget class="QSpinBox" name="m2y_spin"> + <item row="0" column="3"> + <widget class="QLabel" name="label_76"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>y:</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QSpinBox" name="iSpinFourTopX"> <property name="suffix"> <string> mm</string> </property> @@ -911,8 +937,8 @@ </property> </widget> </item> - <item row="1" column="1"> - <widget class="QLabel" name="label_63"> + <item row="0" column="5"> + <widget class="QLabel" name="label_65"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> @@ -920,12 +946,25 @@ </sizepolicy> </property> <property name="text"> - <string>x:</string> + <string>z:</string> </property> </widget> </item> - <item row="1" column="2"> - <widget class="QSpinBox" name="m1x_spin"> + <item row="0" column="0"> + <widget class="QLabel" name="label_75"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string><html><head/><body><p><span style=" font-size:16pt;">Top</span></p></body></html></string> + </property> + </widget> + </item> + <item row="0" column="4"> + <widget class="QSpinBox" name="iSpinFourTopY"> <property name="suffix"> <string> mm</string> </property> @@ -937,8 +976,8 @@ </property> </widget> </item> - <item row="2" column="2"> - <widget class="QSpinBox" name="m1y_spin"> + <item row="2" column="6"> + <widget class="QSpinBox" name="iSpinFourLeftZ"> <property name="suffix"> <string> mm</string> </property> @@ -950,8 +989,8 @@ </property> </widget> </item> - <item row="3" column="5"> - <widget class="QSpinBox" name="m2z_spin"> + <item row="2" column="2"> + <widget class="QSpinBox" name="iSpinFourLeftX"> <property name="suffix"> <string> mm</string> </property> @@ -963,8 +1002,8 @@ </property> </widget> </item> - <item row="1" column="5"> - <widget class="QSpinBox" name="m2x_spin"> + <item row="2" column="4"> + <widget class="QSpinBox" name="iSpinFourLeftY"> <property name="suffix"> <string> mm</string> </property> @@ -976,21 +1015,73 @@ </property> </widget> </item> - <item row="0" column="0" colspan="6"> - <widget class="QLabel" name="label_56"> + <item row="2" column="0"> + <widget class="QLabel" name="label_74"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string><html><head/><body><p><span style=" font-size:16pt;">Left</span></p></body></html></string> + </property> + </widget> + </item> + <item row="2" column="3"> + <widget class="QLabel" name="label_72"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>y:</string> + </property> + </widget> + </item> + <item row="2" column="5"> + <widget class="QLabel" name="label_73"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> - <string><html><head/><body><p>Location of the two remaining model points<br/>with respect to the reference point in default pose</p><p>Use any units you want, not necessarily centimeters.</p></body></html></string> + <string>z:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="label_71"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>x:</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_60"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string><html><head/><body><p><span style=" font-size:16pt;">Right</span></p></body></html></string> </property> </widget> </item> <item row="3" column="2"> - <widget class="QSpinBox" name="m1z_spin"> + <widget class="QSpinBox" name="iSpinFourRightX"> <property name="suffix"> <string> mm</string> </property> @@ -1002,8 +1093,21 @@ </property> </widget> </item> - <item row="2" column="4"> - <widget class="QLabel" name="label_70"> + <item row="3" column="1"> + <widget class="QLabel" name="label_63"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>x:</string> + </property> + </widget> + </item> + <item row="3" column="3"> + <widget class="QLabel" name="label_58"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> @@ -1015,8 +1119,21 @@ </property> </widget> </item> - <item row="1" column="4"> - <widget class="QLabel" name="label_67"> + <item row="3" column="4"> + <widget class="QSpinBox" name="iSpinFourRightY"> + <property name="suffix"> + <string> mm</string> + </property> + <property name="minimum"> + <number>-65535</number> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item row="3" column="5"> + <widget class="QLabel" name="label_57"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> @@ -1024,11 +1141,24 @@ </sizepolicy> </property> <property name="text"> - <string>x:</string> + <string>z:</string> </property> </widget> </item> - <item row="1" column="3"> + <item row="3" column="6"> + <widget class="QSpinBox" name="iSpinFourRightZ"> + <property name="suffix"> + <string> mm</string> + </property> + <property name="minimum"> + <number>-65535</number> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item row="5" column="0"> <widget class="QLabel" name="label_64"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> @@ -1037,12 +1167,12 @@ </sizepolicy> </property> <property name="text"> - <string><html><head/><body><p><span style=" font-size:16pt;">P</span><span style=" font-size:16pt; vertical-align:sub;">3</span></p></body></html></string> + <string><html><head/><body><p><span style=" font-size:16pt;">Center</span></p></body></html></string> </property> </widget> </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_60"> + <item row="5" column="1"> + <widget class="QLabel" name="label_67"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> @@ -1050,12 +1180,25 @@ </sizepolicy> </property> <property name="text"> - <string><html><head/><body><p><span style=" font-size:16pt;">P</span><span style=" font-size:16pt; vertical-align:sub;">2</span></p></body></html></string> + <string>x:</string> </property> </widget> </item> - <item row="3" column="4"> - <widget class="QLabel" name="label_69"> + <item row="5" column="2"> + <widget class="QSpinBox" name="iSpinFourCenterX"> + <property name="suffix"> + <string> mm</string> + </property> + <property name="minimum"> + <number>-65535</number> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item row="5" column="3"> + <widget class="QLabel" name="label_70"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> @@ -1063,12 +1206,25 @@ </sizepolicy> </property> <property name="text"> - <string>z:</string> + <string>y:</string> </property> </widget> </item> - <item row="2" column="1"> - <widget class="QLabel" name="label_58"> + <item row="5" column="4"> + <widget class="QSpinBox" name="iSpinFourCenterY"> + <property name="suffix"> + <string> mm</string> + </property> + <property name="minimum"> + <number>-65535</number> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item row="5" column="5"> + <widget class="QLabel" name="label_69"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> <horstretch>0</horstretch> @@ -1076,7 +1232,20 @@ </sizepolicy> </property> <property name="text"> - <string>y:</string> + <string>z:</string> + </property> + </widget> + </item> + <item row="5" column="6"> + <widget class="QSpinBox" name="iSpinFourCenterZ"> + <property name="suffix"> + <string> mm</string> + </property> + <property name="minimum"> + <number>-65535</number> + </property> + <property name="maximum"> + <number>65535</number> </property> </widget> </item> @@ -1318,12 +1487,6 @@ Don't roll or change position.</string> <tabstop>cap_length_spin</tabstop> <tabstop>cap_height_spin</tabstop> <tabstop>cap_width_spin</tabstop> - <tabstop>m1x_spin</tabstop> - <tabstop>m1y_spin</tabstop> - <tabstop>m1z_spin</tabstop> - <tabstop>m2x_spin</tabstop> - <tabstop>m2y_spin</tabstop> - <tabstop>m2z_spin</tabstop> <tabstop>tx_spin</tabstop> <tabstop>ty_spin</tabstop> <tabstop>tz_spin</tabstop> |