summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-06 10:42:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-06 10:47:48 +0200
commitfcb8ca75c0c274be2321f0ba91e9f129ae63e354 (patch)
tree61dcae88917894e00da2c1e622a26567e1a4e01c /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
parentfaab09446c5c26b96e59218abc34b1dc24727418 (diff)
ht: initial camera dialog
It doesn't work while tracking. Can't pass DirectShow handle through shared memory.
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index b922c0b2..3d142dcb 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -170,6 +170,7 @@ TrackerControls::TrackerControls()
tie_setting(s.resolution, ui.resolution);
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
+ connect(ui.camera_settings, SIGNAL(pressed()), this, SLOT(camera_settings()));
}
void TrackerControls::doOK()
@@ -183,3 +184,8 @@ void TrackerControls::doCancel()
s.b->reload();
this->close();
}
+
+void TrackerControls::camera_settings()
+{
+ open_camera_settings(nullptr, s.camera_name, nullptr);
+}