diff options
Diffstat (limited to 'tracker-steamvr/dialog.cpp')
-rw-r--r-- | tracker-steamvr/dialog.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tracker-steamvr/dialog.cpp b/tracker-steamvr/dialog.cpp new file mode 100644 index 00000000..2e672ca4 --- /dev/null +++ b/tracker-steamvr/dialog.cpp @@ -0,0 +1,22 @@ +#include "steamvr.hpp" +#include "api/plugin-api.hpp" + +dialog::dialog() +{ + ui.setupUi(this); + + connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); + connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); +} + +void dialog::doOK() +{ + s.b->save(); + close(); +} + +void dialog::doCancel() +{ + close(); +} + |