summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-09-29 08:07:10 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-09-29 08:07:10 +0000
commitf45d98e74b90ee4a004526e32aec3fd16a8408ba (patch)
tree30b035bb68914b5eecd76c613fda059e03d5c12b /FaceTrackNoIR
parent75360443eb879b49a72c11b2a3d2d299ca61f9d7 (diff)
Disable button Filter-settings when StartTracker
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@174 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR')
-rw-r--r--FaceTrackNoIR/FaceTrackNoIR.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.cpp b/FaceTrackNoIR/FaceTrackNoIR.cpp
index 340b80d5..d9fffdff 100644
--- a/FaceTrackNoIR/FaceTrackNoIR.cpp
+++ b/FaceTrackNoIR/FaceTrackNoIR.cpp
@@ -23,6 +23,7 @@
*********************************************************************************/
/*
Modifications (last one on top):
+ 20120929 - WVR: Disable button Filter-settings when StartTracker.
20120918 - WVR: When AutoStart is TRUE, the program is not directly minimized any more.
This now depends on the AutoMinimize time. Fixed the 'not showing' of the MIB.
Also disable combo and buttons after 'Start'.
@@ -642,10 +643,13 @@ void FaceTrackNoIR::about() {
void FaceTrackNoIR::startTracker( ) {
//
+ // Disable buttons
+ //
ui.iconcomboProfile->setEnabled ( false );
ui.btnLoad->setEnabled ( false );
ui.btnSave->setEnabled ( false );
ui.btnSaveAs->setEnabled ( false );
+ ui.btnShowFilterControls->setEnabled ( false );
//
// Create the Tracker and setup
@@ -792,6 +796,7 @@ void FaceTrackNoIR::stopTracker( ) {
ui.btnLoad->setEnabled ( true );
ui.btnSave->setEnabled ( true );
ui.btnSaveAs->setEnabled ( true );
+ ui.btnShowFilterControls->setEnabled ( true );
//
// Stop the timer, so it won't go off again...