From 0a09ee52d3f22201819234ea15d2d50f3dd0e48e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 24 Oct 2013 17:37:35 +0200 Subject: faceapi: stuff --- ftnoir_tracker_sm/ftnoir_tracker_faceapi_dialog.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'ftnoir_tracker_sm/ftnoir_tracker_faceapi_dialog.cpp') diff --git a/ftnoir_tracker_sm/ftnoir_tracker_faceapi_dialog.cpp b/ftnoir_tracker_sm/ftnoir_tracker_faceapi_dialog.cpp index 1dbdd67f0..3510f3e93 100644 --- a/ftnoir_tracker_sm/ftnoir_tracker_faceapi_dialog.cpp +++ b/ftnoir_tracker_sm/ftnoir_tracker_faceapi_dialog.cpp @@ -22,8 +22,8 @@ * with this program; if not, see . * * * ********************************************************************************/ -#include "ftnoir_tracker_sm.h" #include +#include "ftnoir_tracker_sm/ftnoir_tracker_sm.h" #include "facetracknoir/global-settings.h" //******************************************************************************************************* @@ -33,24 +33,24 @@ // // Constructor for server-settings-dialog // -TrackerControls::TrackerControls() : QWidget() +TrackerControls::TrackerControls() : settingsDirty(false) { ui.setupUi( this ); //connect(ui.cbxFilterSetting, SIGNAL(currentIndexChanged(int)), this, SLOT(doSetFilter( int ))); //connect(ui.btnCameraSettings, SIGNAL(clicked()), this, SLOT(doShowCam())); - //Setup the timer for showing the headpose. - connect(this, SIGNAL(stateChanged( int )), this, SLOT(showSettings( int ))); connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); - connect(ui.chkEnableRoll, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int))); - connect(ui.chkEnablePitch, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int))); - connect(ui.chkEnableYaw, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int))); - connect(ui.chkEnableX, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int))); - connect(ui.chkEnableY, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int))); - connect(ui.chkEnableZ, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int))); + connect(ui.chkEnableRoll, SIGNAL(setChecked(int)), this, SLOT(settingChanged(int))); + connect(ui.chkEnablePitch, SIGNAL(setChecked(int)), this, SLOT(settingChanged(int))); + connect(ui.chkEnableYaw, SIGNAL(setChecked(int)), this, SLOT(settingChanged(int))); + connect(ui.chkEnableX, SIGNAL(setChecked(int)), this, SLOT(settingChanged(int))); + connect(ui.chkEnableY, SIGNAL(setChecked(int)), this, SLOT(settingChanged(int))); + connect(ui.chkEnableZ, SIGNAL(setChecked(int)), this, SLOT(settingChanged(int))); + connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOk())); + connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doOCancel())); } // -- cgit v1.2.3