diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-11-20 02:23:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-20 02:23:26 +0000 |
commit | 058942f40e17e091b91df5436d771d61203ccc73 (patch) | |
tree | 2562bb275b5ee9d5eed1cd383642d587aaf07ad2 /tracker-tobii/ftnoir_tracker_tobii_dialog.cpp | |
parent | f0e7870d66bbaf42ec0f1cd03dcc2da0dee6dd56 (diff) | |
parent | cf89cd0ee392a73c7b92d0220b3963f1901908ae (diff) |
Merge pull request #1037 from ballista-milsim/tracker-tobii
WIP Tobii Eye tracker support.
Diffstat (limited to 'tracker-tobii/ftnoir_tracker_tobii_dialog.cpp')
-rw-r--r-- | tracker-tobii/ftnoir_tracker_tobii_dialog.cpp | 19 |
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(); +} |