summaryrefslogtreecommitdiffhomepage
path: root/proto-libevdev/ftnoir_protocol_libevdev_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'proto-libevdev/ftnoir_protocol_libevdev_dialog.cpp')
-rw-r--r--proto-libevdev/ftnoir_protocol_libevdev_dialog.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/proto-libevdev/ftnoir_protocol_libevdev_dialog.cpp b/proto-libevdev/ftnoir_protocol_libevdev_dialog.cpp
new file mode 100644
index 00000000..70495a8f
--- /dev/null
+++ b/proto-libevdev/ftnoir_protocol_libevdev_dialog.cpp
@@ -0,0 +1,21 @@
+#include "ftnoir_protocol_libevdev.h"
+#include "opentrack/plugin-api.hpp"
+
+LibevdevControls::LibevdevControls()
+{
+ ui.setupUi( this );
+ connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
+ connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));
+}
+
+void LibevdevControls::doOK() {
+ save();
+ this->close();
+}
+
+void LibevdevControls::doCancel() {
+ this->close();
+}
+
+void LibevdevControls::save() {
+}