diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-03 23:42:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-06 12:28:26 +0100 |
commit | 049044f181414991a103ace961214c78171c284d (patch) | |
tree | 1806ff05675c62df05d9e16623ea8c7a87395ec3 /tracker-steamvr/dialog.cpp | |
parent | ad1e96c576425a4daba20073e99ec0337f193882 (diff) |
tracker/steamvr: TO REBASE
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(); +} + |