From f45d98e74b90ee4a004526e32aec3fd16a8408ba Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sat, 29 Sep 2012 08:07:10 +0000 Subject: Disable button Filter-settings when StartTracker git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@174 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FaceTrackNoIR/FaceTrackNoIR.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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... -- cgit v1.2.3