diff options
Diffstat (limited to 'facetracknoir/settings.ui')
-rw-r--r-- | facetracknoir/settings.ui | 670 |
1 files changed, 379 insertions, 291 deletions
diff --git a/facetracknoir/settings.ui b/facetracknoir/settings.ui index 0810fd98..cf5f14aa 100644 --- a/facetracknoir/settings.ui +++ b/facetracknoir/settings.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>440</width> - <height>705</height> + <width>455</width> + <height>676</height> </rect> </property> <property name="windowTitle"> @@ -141,46 +141,6 @@ </widget> </item> <item> - <widget class="QGroupBox" name="groupBox_911"> - <property name="title"> - <string>Centering method</string> - </property> - <layout class="QGridLayout" name="gridLayout111"> - <item row="1" column="0"> - <widget class="QLabel" name="label_26"> - <property name="text"> - <string>Method</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QComboBox" name="center_method"> - <item> - <property name="text"> - <string>Relative (inertial device)</string> - </property> - </item> - <item> - <property name="text"> - <string>Absolute (camera device)</string> - </property> - </item> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_25"> - <property name="text"> - <string>Try changing this if centering doesn't perform correctly for your input device.</string> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> <widget class="QCheckBox" name="center_at_startup"> <property name="text"> <string>Center at startup</string> @@ -214,6 +174,124 @@ <string>Camera</string> </attribute> <layout class="QGridLayout" name="gridLayout_9"> + <item row="1" column="0"> + <widget class="QGroupBox" name="groupBox_9"> + <property name="title"> + <string>Device</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="2" column="0"> + <widget class="QLabel" name="label_32"> + <property name="text"> + <string>Dynamic pose resolution</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="dynamic_pose"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QComboBox" name="camera_mode"> + <item> + <property name="text"> + <string>640x480, 75 Hz</string> + </property> + </item> + <item> + <property name="text"> + <string>640x480, 60 Hz</string> + </property> + </item> + <item> + <property name="text"> + <string>320x240, 189 Hz</string> + </property> + </item> + <item> + <property name="text"> + <string>320x240, 120 Hz</string> + </property> + </item> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_2511"> + <property name="text"> + <string>Mode</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="camera_fov"> + <item> + <property name="text"> + <string>56°</string> + </property> + </item> + <item> + <property name="text"> + <string>75°</string> + </property> + </item> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Field of view</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_33"> + <property name="text"> + <string>Dynamic pose timeout</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QSpinBox" name="init_phase_timeout"> + <property name="suffix"> + <string> ms</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>10000</number> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="5" column="0"> + <widget class="QGroupBox" name="groupBox_11"> + <property name="title"> + <string>Status</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="caminfo_label"> + <property name="text"> + <string>Not running</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="pointinfo_label"> + <property name="text"> + <string/> + </property> + </widget> + </item> + </layout> + </widget> + </item> <item row="3" column="0"> <widget class="QGroupBox" name="groupBox_6"> <property name="title"> @@ -223,12 +301,18 @@ <item> <widget class="QFrame" name="frame_2"> <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> + <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> - <enum>QFrame::Raised</enum> + <enum>QFrame::Plain</enum> + </property> + <property name="lineWidth"> + <number>0</number> </property> <layout class="QGridLayout" name="gridLayout_10"> + <property name="bottomMargin"> + <number>4</number> + </property> <item row="1" column="1"> <widget class="QSlider" name="threshold_slider"> <property name="toolTip"> @@ -290,6 +374,12 @@ <enum>QFrame::Raised</enum> </property> <layout class="QGridLayout" name="gridLayout_3"> + <property name="topMargin"> + <number>0</number> + </property> + <property name="verticalSpacing"> + <number>0</number> + </property> <item row="0" column="0"> <widget class="QLabel" name="label_29"> <property name="text"> @@ -342,124 +432,6 @@ </layout> </widget> </item> - <item row="4" column="0"> - <widget class="QGroupBox" name="groupBox_11"> - <property name="title"> - <string>Status</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="caminfo_label"> - <property name="text"> - <string>Not running</string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="pointinfo_label"> - <property name="text"> - <string/> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item row="1" column="0"> - <widget class="QGroupBox" name="groupBox_9"> - <property name="title"> - <string>Device</string> - </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="2" column="0"> - <widget class="QLabel" name="label_32"> - <property name="text"> - <string>Dynamic pose resolution</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="dynamic_pose"> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QComboBox" name="camera_mode"> - <item> - <property name="text"> - <string>640x480, 75 Hz</string> - </property> - </item> - <item> - <property name="text"> - <string>640x480, 60 Hz</string> - </property> - </item> - <item> - <property name="text"> - <string>320x240, 189 Hz</string> - </property> - </item> - <item> - <property name="text"> - <string>320x240, 120 Hz</string> - </property> - </item> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="label_2511"> - <property name="text"> - <string>Mode</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QComboBox" name="camera_fov"> - <item> - <property name="text"> - <string>56°</string> - </property> - </item> - <item> - <property name="text"> - <string>75°</string> - </property> - </item> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Field of view</string> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_33"> - <property name="text"> - <string>Dynamic pose timeout</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QSpinBox" name="init_phase_timeout"> - <property name="suffix"> - <string> ms</string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>10000</number> - </property> - </widget> - </item> - </layout> - </widget> - </item> <item row="0" column="0"> <widget class="QGroupBox" name="groupBox_5"> <property name="title"> @@ -566,7 +538,7 @@ </layout> </widget> </item> - <item row="5" column="0"> + <item row="4" column="0"> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -609,138 +581,166 @@ <property name="lineWidth"> <number>0</number> </property> - <layout class="QGridLayout" name="gridLayout_16"> - <property name="leftMargin"> - <number>20</number> + <widget class="QLabel" name="label_4"> + <property name="geometry"> + <rect> + <x>30</x> + <y>40</y> + <width>17</width> + <height>16</height> + </rect> </property> - <property name="topMargin"> - <number>0</number> + <property name="text"> + <string>Hat</string> </property> - <property name="rightMargin"> - <number>40</number> + </widget> + <widget class="QLabel" name="label_3"> + <property name="geometry"> + <rect> + <x>210</x> + <y>0</y> + <width>120</width> + <height>108</height> + </rect> </property> - <property name="spacing"> - <number>0</number> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <item row="0" column="0"> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Hat</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_3"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>120</width> - <height>108</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>120</width> - <height>108</height> - </size> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="ui-res.qrc">:/images/trackhat-hat.png</pixmap> - </property> - <property name="scaledContents"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLabel" name="label_34"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>130</width> - <height>130</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>130</width> - <height>130</height> - </size> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="ui-res.qrc">:/images/trackhat-clip-right.png</pixmap> - </property> - <property name="scaledContents"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_35"> - <property name="text"> - <string>Right clip</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QLabel" name="label_36"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>130</width> - <height>130</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>130</width> - <height>130</height> - </size> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="ui-res.qrc">:/images/trackhat-clip-left.png</pixmap> - </property> - <property name="scaledContents"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_37"> - <property name="text"> - <string>Left clip</string> - </property> - </widget> - </item> - </layout> + <property name="minimumSize"> + <size> + <width>120</width> + <height>108</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>120</width> + <height>108</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="ui-res.qrc">:/images/trackhat-hat.png</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_34"> + <property name="geometry"> + <rect> + <x>215</x> + <y>80</y> + <width>130</width> + <height>130</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>130</width> + <height>130</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>130</width> + <height>130</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="ui-res.qrc">:/images/trackhat-clip-right.png</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_35"> + <property name="geometry"> + <rect> + <x>20</x> + <y>130</y> + <width>43</width> + <height>16</height> + </rect> + </property> + <property name="text"> + <string>Right clip</string> + </property> + </widget> + <widget class="QLabel" name="label_36"> + <property name="geometry"> + <rect> + <x>215</x> + <y>170</y> + <width>130</width> + <height>130</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>130</width> + <height>130</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>130</width> + <height>130</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="ui-res.qrc">:/images/trackhat-clip-left.png</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_37"> + <property name="geometry"> + <rect> + <x>20</x> + <y>230</y> + <width>37</width> + <height>16</height> + </rect> + </property> + <property name="text"> + <string>Left clip</string> + </property> + </widget> </widget> </item> <item> <widget class="QFrame" name="frame_6"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="styleSheet"> <string notr="true">QFrame { border: 0; }</string> </property> @@ -1429,6 +1429,18 @@ <layout class="QGridLayout" name="gridLayout_14"> <item row="1" column="3"> <widget class="QSlider" name="rotation_slider"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>24</height> + </size> + </property> <property name="maximum"> <number>99</number> </property> @@ -1442,7 +1454,7 @@ <enum>QSlider::TicksAbove</enum> </property> <property name="tickInterval"> - <number>25</number> + <number>24</number> </property> </widget> </item> @@ -1488,6 +1500,18 @@ </item> <item row="0" column="3"> <widget class="QSlider" name="ewma_slider"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>24</height> + </size> + </property> <property name="maximum"> <number>100</number> </property> @@ -1504,7 +1528,7 @@ <enum>QSlider::TicksAbove</enum> </property> <property name="tickInterval"> - <number>25</number> + <number>24</number> </property> </widget> </item> @@ -1524,12 +1548,30 @@ </item> <item row="4" column="3"> <widget class="QSlider" name="rot_dz_slider"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>24</height> + </size> + </property> <property name="maximum"> <number>100</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> + <property name="tickPosition"> + <enum>QSlider::TicksAbove</enum> + </property> + <property name="tickInterval"> + <number>24</number> + </property> </widget> </item> <item row="4" column="1"> @@ -1541,12 +1583,30 @@ </item> <item row="6" column="3"> <widget class="QSlider" name="trans_dz_slider"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>24</height> + </size> + </property> <property name="maximum"> <number>100</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> + <property name="tickPosition"> + <enum>QSlider::TicksAbove</enum> + </property> + <property name="tickInterval"> + <number>24</number> + </property> </widget> </item> <item row="6" column="1"> @@ -1578,6 +1638,18 @@ </item> <item row="5" column="3"> <widget class="QSlider" name="translation_slider"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>24</height> + </size> + </property> <property name="maximum"> <number>99</number> </property> @@ -1591,14 +1663,14 @@ <enum>QSlider::TicksAbove</enum> </property> <property name="tickInterval"> - <number>25</number> + <number>24</number> </property> </widget> </item> </layout> </widget> </item> - <item row="1" column="0"> + <item row="2" column="0"> <widget class="QGroupBox" name="groupBox_12"> <property name="title"> <string>GroupBox</string> @@ -1662,6 +1734,22 @@ </layout> </widget> </item> + <item row="1" column="0"> + <spacer name="verticalSpacer_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + </spacer> + </item> </layout> </widget> <widget class="QWidget" name="tab_5"> |