diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-01 13:17:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-01 13:35:11 +0200 |
commit | 9e523211b95332cf3e427136f8a84e9c2a2766cd (patch) | |
tree | 5bfd4aee1b462f9757a154cbbc9d1a59de0b1006 /facetracknoir | |
parent | 422af71f8d604a107ff53309ceec5ed97e91aaf4 (diff) |
settings: fix some problem with qt stderr whiningopentrack-2.3-rc12
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/process_detector.cpp | 1 | ||||
-rw-r--r-- | facetracknoir/process_widget.ui | 10 | ||||
-rw-r--r-- | facetracknoir/settings.ui | 103 |
3 files changed, 23 insertions, 91 deletions
diff --git a/facetracknoir/process_detector.cpp b/facetracknoir/process_detector.cpp index c0b90bf6..52d5de6d 100644 --- a/facetracknoir/process_detector.cpp +++ b/facetracknoir/process_detector.cpp @@ -99,6 +99,7 @@ void process_detector::add_items() process_detector::process_detector(QWidget* parent) : QWidget(parent) { ui.setupUi(this); + setFixedSize(size()); connect(ui.add, SIGNAL(pressed()), this, SLOT(add())); connect(ui.remove, SIGNAL(pressed()), this, SLOT(remove())); diff --git a/facetracknoir/process_widget.ui b/facetracknoir/process_widget.ui index 6978d1be..19fe39da 100644 --- a/facetracknoir/process_widget.ui +++ b/facetracknoir/process_widget.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>327</width> - <height>346</height> + <width>302</width> + <height>325</height> </rect> </property> <property name="windowTitle"> @@ -16,6 +16,12 @@ <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="FancyTable" name="tableWidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <column> <property name="text"> <string>Executable</string> diff --git a/facetracknoir/settings.ui b/facetracknoir/settings.ui index e3350f2d..6d67b8ff 100644 --- a/facetracknoir/settings.ui +++ b/facetracknoir/settings.ui @@ -6,16 +6,10 @@ <rect> <x>0</x> <y>0</y> - <width>399</width> - <height>531</height> + <width>348</width> + <height>548</height> </rect> </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="windowTitle"> <string>Options</string> </property> @@ -55,7 +49,7 @@ </sizepolicy> </property> <property name="text"> - <string><html><head/><body><p><span style=" font-weight:600;">Center</span> - use current pose as looking perfectly forward.<br/><span style=" font-weight:600;">Toggle</span> - keep looking at same spot until next toggle keypress.<br/><span style=" font-weight:600;">Zero</span> - keep looking perfectly forward while the key is pressed.<br/></p></body></html></string> + <string><html><head/><body><p><span style=" font-weight:600;">Center</span> - use current pose as looking perfectly forward.<br/><span style=" font-weight:600;">Toggle</span> - keep looking at same spot until toggle keypress.<br/><span style=" font-weight:600;">Zero</span> - keep looking forward while the key is pressed.<br/></p></body></html></string> </property> <property name="wordWrap"> <bool>true</bool> @@ -64,24 +58,12 @@ </item> <item> <widget class="QGroupBox" name="groupBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="styleSheet"> <string notr="true">QGroupBox { border: 0; }</string> </property> <layout class="QGridLayout" name="gridLayout_8"> <item row="3" column="0"> <widget class="QLabel" name="textLabel2_5"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="text"> <string>Toggle</string> </property> @@ -134,12 +116,6 @@ </item> <item row="2" column="0"> <widget class="QLabel" name="textLabel2_3"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="text"> <string>Center</string> </property> @@ -163,12 +139,6 @@ </item> <item row="4" column="0"> <widget class="QLabel" name="textLabel2_6"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="text"> <string>Zero</string> </property> @@ -329,12 +299,6 @@ <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QGroupBox" name="groupBox_5"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="title"> <string>Camera offset</string> </property> @@ -366,12 +330,6 @@ <layout class="QGridLayout" name="gridLayout_7"> <item row="2" column="0"> <widget class="QLabel" name="label_21"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="text"> <string>Roll</string> </property> @@ -379,12 +337,6 @@ </item> <item row="2" column="1"> <widget class="QSpinBox" name="camera_roll"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="minimumSize"> <size> <width>80</width> @@ -401,12 +353,6 @@ </item> <item row="0" column="1"> <widget class="QSpinBox" name="camera_yaw"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="minimumSize"> <size> <width>80</width> @@ -423,12 +369,6 @@ </item> <item row="1" column="0"> <widget class="QLabel" name="label_19"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="text"> <string>Pitch</string> </property> @@ -436,12 +376,6 @@ </item> <item row="1" column="1"> <widget class="QSpinBox" name="camera_pitch"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="minimumSize"> <size> <width>80</width> @@ -458,12 +392,6 @@ </item> <item row="0" column="0"> <widget class="QLabel" name="label_18"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="text"> <string>Yaw</string> </property> @@ -496,12 +424,6 @@ </item> <item> <widget class="QGroupBox" name="groupBox_7"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="styleSheet"> <string notr="true">QGroupBox { border: 0; @@ -720,12 +642,6 @@ </item> <item> <widget class="QCheckBox" name="tcomp_enable"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="styleSheet"> <string notr="true"/> </property> @@ -1193,14 +1109,23 @@ <string>Game detection</string> </property> <layout class="QGridLayout" name="gridLayout_2"> + <item row="1" column="0"> + <widget class="process_detector" name="game_detector" native="true"/> + </item> <item row="0" column="0"> - <widget class="process_detector" name="game_detector" native="true"> + <widget class="QLabel" name="label_24"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="text"> + <string>Start tracking automatically when a game starts with selected profile, and stop when the game exits.</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> </widget> </item> </layout> |