diff options
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(); +} |