summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-26 23:53:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-26 23:53:10 +0200
commit63e5d03cd8ccdb0c21d0b7e96bb08e656f1f99ca (patch)
tree1b05cc0df746ac29bc75bb7d13262e358cbb861b
parentbc130b2812700047002f2866012784853c88670e (diff)
replace raw headpose box a bit
-rw-r--r--facetracknoir/facetracknoir.ui460
1 files changed, 173 insertions, 287 deletions
diff --git a/facetracknoir/facetracknoir.ui b/facetracknoir/facetracknoir.ui
index 5cc2ab0e..1a006809 100644
--- a/facetracknoir/facetracknoir.ui
+++ b/facetracknoir/facetracknoir.ui
@@ -23,7 +23,8 @@
</property>
<property name="styleSheet">
<string notr="true">#headpose, #video_frame_label, #controls, #video_frame { border: 0; }
-#video_frame { margin: 0; padding: 0; }</string>
+#video_frame { margin: 0; padding: 0; }
+</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QGroupBox" name="video_feed">
@@ -577,35 +578,13 @@
<number>0</number>
</property>
<item>
- <widget class="QGroupBox" name="box_mapped_headpose">
+ <widget class="QGroupBox" name="box_raw_headpose">
<property name="title">
- <string notr="true">Game data</string>
+ <string notr="true">Raw pose</string>
</property>
- <layout class="QGridLayout" name="gridLayout_10">
- <item row="0" column="0">
- <widget class="QLabel" name="lblX_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="font">
- <font>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="text">
- <string>TX</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLCDNumber" name="lcdNumOutputPosX">
+ <layout class="QGridLayout" name="gridLayout_8">
+ <item row="1" column="1">
+ <widget class="QLCDNumber" name="lcdNumY">
<property name="enabled">
<bool>true</bool>
</property>
@@ -615,32 +594,19 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="smallDecimalPoint">
- <bool>true</bool>
- </property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Flat</enum>
+ <enum>QLCDNumber::Outline</enum>
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="QLCDNumber" name="lcdNumOutputPosY">
+ <item row="0" column="3">
+ <widget class="QLCDNumber" name="lcdNumRotX">
<property name="enabled">
<bool>true</bool>
</property>
@@ -650,117 +616,67 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="smallDecimalPoint">
- <bool>true</bool>
- </property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Flat</enum>
+ <enum>QLCDNumber::Outline</enum>
</property>
</widget>
</item>
<item row="1" column="2">
- <widget class="QLabel" name="lblRotY_2">
+ <widget class="QLabel" name="lblRotY_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
<property name="text">
<string>pitch</string>
</property>
</widget>
</item>
- <item row="1" column="3">
- <widget class="QLCDNumber" name="lcdNumOutputRotY">
- <property name="enabled">
- <bool>true</bool>
- </property>
+ <item row="0" column="0">
+ <widget class="QLabel" name="lblX_3">
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="smallDecimalPoint">
- <bool>true</bool>
- </property>
- <property name="digitCount">
- <number>4</number>
- </property>
- <property name="segmentStyle">
- <enum>QLCDNumber::Flat</enum>
+ <property name="text">
+ <string>TX</string>
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="lblZ_2">
+ <item row="2" column="1">
+ <widget class="QLCDNumber" name="lcdNumZ">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
- <property name="autoFillBackground">
- <bool>false</bool>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
+ <property name="digitCount">
+ <number>1</number>
</property>
- <property name="text">
- <string>TZ</string>
+ <property name="segmentStyle">
+ <enum>QLCDNumber::Outline</enum>
</property>
</widget>
</item>
- <item row="0" column="3">
- <widget class="QLCDNumber" name="lcdNumOutputRotX">
+ <item row="0" column="1">
+ <widget class="QLCDNumber" name="lcdNumX">
<property name="enabled">
<bool>true</bool>
</property>
@@ -770,32 +686,19 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="smallDecimalPoint">
- <bool>true</bool>
- </property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Flat</enum>
+ <enum>QLCDNumber::Outline</enum>
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="lblY_2">
+ <item row="2" column="0">
+ <widget class="QLabel" name="lblZ_3">
<property name="enabled">
<bool>true</bool>
</property>
@@ -805,47 +708,35 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
<property name="text">
- <string>TY</string>
+ <string>TZ</string>
</property>
</widget>
</item>
- <item row="0" column="2">
- <widget class="QLabel" name="lblRotX_2">
+ <item row="1" column="0">
+ <widget class="QLabel" name="lblY_3">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
+ <property name="autoFillBackground">
+ <bool>false</bool>
</property>
<property name="text">
- <string>yaw</string>
+ <string>TY</string>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QLCDNumber" name="lcdNumOutputPosZ">
+ <item row="1" column="3">
+ <widget class="QLCDNumber" name="lcdNumRotY">
<property name="enabled">
<bool>true</bool>
</property>
@@ -855,46 +746,37 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="smallDecimalPoint">
- <bool>true</bool>
- </property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Flat</enum>
+ <enum>QLCDNumber::Outline</enum>
</property>
</widget>
</item>
- <item row="2" column="2">
- <widget class="QLabel" name="lblRotZ_2">
+ <item row="0" column="2">
+ <widget class="QLabel" name="lblRotX_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
+ <property name="text">
+ <string>yaw</string>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QLabel" name="lblRotZ_3">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
<property name="text">
<string>roll</string>
@@ -902,7 +784,7 @@
</widget>
</item>
<item row="2" column="3">
- <widget class="QLCDNumber" name="lcdNumOutputRotZ">
+ <widget class="QLCDNumber" name="lcdNumRotZ">
<property name="enabled">
<bool>true</bool>
</property>
@@ -912,27 +794,14 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="smallDecimalPoint">
- <bool>true</bool>
- </property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Flat</enum>
+ <enum>QLCDNumber::Outline</enum>
</property>
</widget>
</item>
@@ -940,29 +809,44 @@
</widget>
</item>
<item>
- <widget class="QGroupBox" name="box_raw_headpose">
+ <widget class="QGroupBox" name="box_mapped_headpose">
<property name="title">
- <string notr="true">Raw pose</string>
+ <string notr="true">Game data</string>
</property>
- <layout class="QGridLayout" name="gridLayout_8">
- <item row="1" column="1">
- <widget class="QLCDNumber" name="lcdNumY">
- <property name="enabled">
- <bool>true</bool>
- </property>
+ <layout class="QGridLayout" name="gridLayout_10">
+ <item row="0" column="0">
+ <widget class="QLabel" name="lblX_2">
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
- <pointsize>13</pointsize>
<stylestrategy>NoAntialias</stylestrategy>
<kerning>false</kerning>
</font>
</property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="text">
+ <string>TX</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLCDNumber" name="lcdNumOutputPosX">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@@ -973,15 +857,15 @@
<bool>true</bool>
</property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
- <item row="0" column="3">
- <widget class="QLCDNumber" name="lcdNumRotX">
+ <item row="1" column="1">
+ <widget class="QLCDNumber" name="lcdNumOutputPosY">
<property name="enabled">
<bool>true</bool>
</property>
@@ -991,13 +875,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@@ -1008,7 +885,7 @@
<bool>true</bool>
</property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
@@ -1016,33 +893,29 @@
</widget>
</item>
<item row="1" column="2">
- <widget class="QLabel" name="lblRotY_3">
+ <widget class="QLabel" name="lblRotY_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="text">
- <string>pitch</string>
+ <property name="font">
+ <font>
+ <stylestrategy>NoAntialias</stylestrategy>
+ <kerning>false</kerning>
+ </font>
</property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="lblX_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
</property>
<property name="text">
- <string>TX</string>
+ <string>pitch</string>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QLCDNumber" name="lcdNumZ">
+ <item row="1" column="3">
+ <widget class="QLCDNumber" name="lcdNumOutputRotY">
<property name="enabled">
<bool>true</bool>
</property>
@@ -1052,13 +925,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@@ -1069,31 +935,52 @@
<bool>true</bool>
</property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QLCDNumber" name="lcdNumX">
+ <item row="2" column="0">
+ <widget class="QLabel" name="lblZ_2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
- <pointsize>13</pointsize>
<stylestrategy>NoAntialias</stylestrategy>
<kerning>false</kerning>
</font>
</property>
+ <property name="autoFillBackground">
+ <bool>false</bool>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="text">
+ <string>TZ</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="3">
+ <widget class="QLCDNumber" name="lcdNumOutputRotX">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@@ -1104,15 +991,15 @@
<bool>true</bool>
</property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="lblZ_3">
+ <item row="1" column="0">
+ <widget class="QLabel" name="lblY_2">
<property name="enabled">
<bool>true</bool>
</property>
@@ -1122,35 +1009,47 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="font">
+ <font>
+ <stylestrategy>NoAntialias</stylestrategy>
+ <kerning>false</kerning>
+ </font>
+ </property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
<property name="text">
- <string>TZ</string>
+ <string>TY</string>
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="lblY_3">
- <property name="enabled">
- <bool>true</bool>
- </property>
+ <item row="0" column="2">
+ <widget class="QLabel" name="lblRotX_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="autoFillBackground">
- <bool>false</bool>
+ <property name="font">
+ <font>
+ <stylestrategy>NoAntialias</stylestrategy>
+ <kerning>false</kerning>
+ </font>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
</property>
<property name="text">
- <string>TY</string>
+ <string>yaw</string>
</property>
</widget>
</item>
- <item row="1" column="3">
- <widget class="QLCDNumber" name="lcdNumRotY">
+ <item row="2" column="1">
+ <widget class="QLCDNumber" name="lcdNumOutputPosZ">
<property name="enabled">
<bool>true</bool>
</property>
@@ -1160,13 +1059,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@@ -1177,33 +1069,29 @@
<bool>true</bool>
</property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
- <item row="0" column="2">
- <widget class="QLabel" name="lblRotX_3">
+ <item row="2" column="2">
+ <widget class="QLabel" name="lblRotZ_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="text">
- <string>yaw</string>
+ <property name="font">
+ <font>
+ <stylestrategy>NoAntialias</stylestrategy>
+ <kerning>false</kerning>
+ </font>
</property>
- </widget>
- </item>
- <item row="2" column="2">
- <widget class="QLabel" name="lblRotZ_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
</property>
<property name="text">
<string>roll</string>
@@ -1211,7 +1099,7 @@
</widget>
</item>
<item row="2" column="3">
- <widget class="QLCDNumber" name="lcdNumRotZ">
+ <widget class="QLCDNumber" name="lcdNumOutputRotZ">
<property name="enabled">
<bool>true</bool>
</property>
@@ -1221,13 +1109,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="font">
- <font>
- <pointsize>13</pointsize>
- <stylestrategy>NoAntialias</stylestrategy>
- <kerning>false</kerning>
- </font>
- </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@@ -1238,7 +1119,7 @@
<bool>true</bool>
</property>
<property name="digitCount">
- <number>4</number>
+ <number>1</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
@@ -1250,7 +1131,7 @@
</item>
</layout>
</widget>
- <widget class="QGroupBox" name="tracking_preview">
+ <widget class="QGroupBox" name="octopus">
<property name="geometry">
<rect>
<x>10</x>
@@ -1289,6 +1170,11 @@
</item>
</layout>
</widget>
+ <zorder>video_feed</zorder>
+ <zorder>controls</zorder>
+ <zorder>headpose</zorder>
+ <zorder>octopus</zorder>
+ <zorder>box_mapped_headpose</zorder>
</widget>
</widget>
<customwidgets>