summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/options-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-18 10:56:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-18 10:56:07 +0200
commit37429e80900e9546b3d541b85b3023b837e828aa (patch)
treec8c96d4850b041e0ac7171c17756c1d81485a7ce /facetracknoir/options-dialog.cpp
parent592a9481acfc55d67e15c8e0956be65fc453685b (diff)
add forgotten label display
Diffstat (limited to 'facetracknoir/options-dialog.cpp')
-rw-r--r--facetracknoir/options-dialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/facetracknoir/options-dialog.cpp b/facetracknoir/options-dialog.cpp
index 705f7672..0fe90c93 100644
--- a/facetracknoir/options-dialog.cpp
+++ b/facetracknoir/options-dialog.cpp
@@ -69,6 +69,12 @@ OptionsDialog::OptionsDialog(State& state) : state(state), trans_calib_running(f
tie_setting(pt.model_used, ui.model_used);
+ connect(ui.ewma_slider, SIGNAL(valueChanged(int)), this, SLOT(update_ewma_display(int)));
+ connect(ui.rotation_slider, SIGNAL(valueChanged(int)), this, SLOT(update_rot_display(int)));
+ connect(ui.rot_dz_slider, SIGNAL(valueChanged(int)), this, SLOT(update_rot_dz_display(int)));
+ connect(ui.translation_slider, SIGNAL(valueChanged(int)), this, SLOT(update_trans_display(int)));
+ connect(ui.trans_dz_slider, SIGNAL(valueChanged(int)), this, SLOT(update_trans_dz_display(int)));
+
tie_setting(acc.rot_threshold, ui.rotation_slider);
tie_setting(acc.trans_threshold, ui.translation_slider);
tie_setting(acc.ewma, ui.ewma_slider);
@@ -77,6 +83,7 @@ OptionsDialog::OptionsDialog(State& state) : state(state), trans_calib_running(f
connect(&timer,SIGNAL(timeout()), this,SLOT(poll_tracker_info()));
connect( ui.tcalib_button,SIGNAL(toggled(bool)), this,SLOT(startstop_trans_calib(bool)) );
+
timer.start(100);
}