summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii/ftnoir_tracker_tobii_dialog.cpp
diff options
context:
space:
mode:
authorBallista Milsim <ballista.milsim@gmail.com>2020-01-23 15:40:15 +0100
committerBallista Milsim <ballista.milsim@gmail.com>2020-01-23 15:40:15 +0100
commit77885b4d65f49fd220d2426c01cd336402b86c60 (patch)
treeafd0a202db23d7a1db8e6c0cb09f272759162d1a /tracker-tobii/ftnoir_tracker_tobii_dialog.cpp
parentfb994308266093382fffecb8a3fd2645ab811117 (diff)
WIP Tobii Eye tracker support.
Diffstat (limited to 'tracker-tobii/ftnoir_tracker_tobii_dialog.cpp')
-rw-r--r--tracker-tobii/ftnoir_tracker_tobii_dialog.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/tracker-tobii/ftnoir_tracker_tobii_dialog.cpp b/tracker-tobii/ftnoir_tracker_tobii_dialog.cpp
new file mode 100644
index 00000000..5cd4bad0
--- /dev/null
+++ b/tracker-tobii/ftnoir_tracker_tobii_dialog.cpp
@@ -0,0 +1,19 @@
+#include "ftnoir_tracker_tobii.h"
+#include "api/plugin-api.hpp"
+
+dialog_tobii::dialog_tobii() : tracker(nullptr)
+{
+ ui.setupUi( this );
+
+ // Connect Qt signals to member-functions
+ connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
+ connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
+}
+
+void dialog_tobii::doOK() {
+ close();
+}
+
+void dialog_tobii::doCancel() {
+ close();
+}