summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt_dialog.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-15 13:44:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-15 13:44:42 +0200
commit558491c9ee7262b4f84e192b0627194a39e884dc (patch)
tree9f4beeed8b3a7215f543b573e2f5f42f6bd90e39 /tracker-pt/ftnoir_tracker_pt_dialog.h
parentebcb655842a184ad7f0c3abfabbf04e349fc7a53 (diff)
tracker/pt: make calibration less confusing in dialog
- change button text to "stop calibration" and "start calibration" respectively. - gray out the values while calibration is running - run calibration at 10 Hz on a separate timer from dialog update Issue: #416
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.h')
-rw-r--r--tracker-pt/ftnoir_tracker_pt_dialog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.h b/tracker-pt/ftnoir_tracker_pt_dialog.h
index 49e8f1b0..c13c1216 100644
--- a/tracker-pt/ftnoir_tracker_pt_dialog.h
+++ b/tracker-pt/ftnoir_tracker_pt_dialog.h
@@ -28,19 +28,18 @@ public:
void register_tracker(ITracker *tracker) override;
void unregister_tracker() override;
void save();
- void trans_calib_step();
-
public slots:
void doOK();
void doCancel();
void startstop_trans_calib(bool start);
+ void trans_calib_step();
void poll_tracker_info();
void camera_settings();
private:
settings_pt s;
Tracker_PT* tracker;
- QTimer timer;
+ QTimer timer, calib_timer;
TranslationCalibrator trans_calib;
bool trans_calib_running;