From 9e523211b95332cf3e427136f8a84e9c2a2766cd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 1 Jun 2015 13:17:17 +0200 Subject: settings: fix some problem with qt stderr whining --- facetracknoir/process_detector.cpp | 1 + facetracknoir/process_widget.ui | 10 +++- facetracknoir/settings.ui | 103 +++++-------------------------------- 3 files changed, 23 insertions(+), 91 deletions(-) (limited to 'facetracknoir') 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 @@ 0 0 - 327 - 346 + 302 + 325 @@ -16,6 +16,12 @@ + + + 0 + 0 + + Executable 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 @@ 0 0 - 399 - 531 + 348 + 548 - - - 0 - 0 - - Options @@ -55,7 +49,7 @@ - <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> + <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> true @@ -64,24 +58,12 @@ - - - 0 - 0 - - QGroupBox { border: 0; } - - - 0 - 0 - - Toggle @@ -134,12 +116,6 @@ - - - 0 - 0 - - Center @@ -163,12 +139,6 @@ - - - 0 - 0 - - Zero @@ -329,12 +299,6 @@ - - - 0 - 0 - - Camera offset @@ -366,12 +330,6 @@ - - - 0 - 0 - - Roll @@ -379,12 +337,6 @@ - - - 0 - 0 - - 80 @@ -401,12 +353,6 @@ - - - 0 - 0 - - 80 @@ -423,12 +369,6 @@ - - - 0 - 0 - - Pitch @@ -436,12 +376,6 @@ - - - 0 - 0 - - 80 @@ -458,12 +392,6 @@ - - - 0 - 0 - - Yaw @@ -496,12 +424,6 @@ - - - 0 - 0 - - QGroupBox { border: 0; @@ -720,12 +642,6 @@ - - - 0 - 0 - - @@ -1193,14 +1109,23 @@ Game detection + + + - + - + 0 0 + + Start tracking automatically when a game starts with selected profile, and stop when the game exits. + + + true + -- cgit v1.2.3