summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-06 10:20:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-06 10:47:47 +0200
commitfaab09446c5c26b96e59218abc34b1dc24727418 (patch)
tree9fc386f72ed736b3994ac1809f6a993d1a91ea2c /ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
parent2e7407a094c74b629cbe8348e9007c6373e476fe (diff)
pt: initial camera dialog
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
index 696f0b1b..5b17df5b 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
@@ -83,9 +83,15 @@ TrackerDialog_PT::TrackerDialog_PT()
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
connect(&timer,SIGNAL(timeout()), this,SLOT(poll_tracker_info()));
+ connect(ui.camera_settings, SIGNAL(pressed()), this, SLOT(camera_settings()));
timer.start(100);
}
+void TrackerDialog_PT::camera_settings()
+{
+ open_camera_settings(tracker ? &static_cast<cv::VideoCapture&>(tracker->camera) : nullptr, s.camera_name, tracker ? &tracker->camera_mtx : nullptr);
+}
+
void TrackerDialog_PT::startstop_trans_calib(bool start)
{
if (start)