diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-26 15:45:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 15:45:36 +0200 |
commit | a123bb65e10dab56f32f0a4ed015b366d23615da (patch) | |
tree | df9aa3d97506834c4389e7f2dc738e396155df94 /tracker-tobii/tobii_dialog.cpp | |
parent | 6f836ab2ab0edb296e0dc3884983cf6b956fce68 (diff) | |
parent | a462b5411e4c6e958adb3b2d1a75657d56522942 (diff) |
Merge pull request #1724 from khoanguyen-3fc/feature/tobii-tracker
Diffstat (limited to 'tracker-tobii/tobii_dialog.cpp')
-rw-r--r-- | tracker-tobii/tobii_dialog.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tracker-tobii/tobii_dialog.cpp b/tracker-tobii/tobii_dialog.cpp new file mode 100644 index 00000000..689cae38 --- /dev/null +++ b/tracker-tobii/tobii_dialog.cpp @@ -0,0 +1,20 @@ +#include "tobii.h" + +tobii_dialog::tobii_dialog() // NOLINT(cppcoreguidelines-pro-type-member-init) +{ + ui.setupUi(this); + + connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); + connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); +} + +void tobii_dialog::doOK() +{ + // s.b->save(); + close(); +} + +void tobii_dialog::doCancel() +{ + close(); +} |