summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-03 23:42:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-06 12:28:26 +0100
commit049044f181414991a103ace961214c78171c284d (patch)
tree1806ff05675c62df05d9e16623ea8c7a87395ec3 /tracker-steamvr/dialog.cpp
parentad1e96c576425a4daba20073e99ec0337f193882 (diff)
tracker/steamvr: TO REBASE
Diffstat (limited to 'tracker-steamvr/dialog.cpp')
-rw-r--r--tracker-steamvr/dialog.cpp22
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();
+}
+