summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/options-dialog.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-31 11:51:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-31 11:51:41 +0200
commit24128cad6973583f5ff26ff8853281a2ff752514 (patch)
tree80eaabeffda3cb20e8eb3d22c31746322ebd9519 /facetracknoir/options-dialog.hpp
parentf414b6d4e003532ec65eacf6052c2c888b892906 (diff)
ui: introduce options dialog
Move the non-mapping contents of mapping dialog to new options dialog. The latter now also contains what used to be in the shortcuts dialog.
Diffstat (limited to 'facetracknoir/options-dialog.hpp')
-rw-r--r--facetracknoir/options-dialog.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/facetracknoir/options-dialog.hpp b/facetracknoir/options-dialog.hpp
new file mode 100644
index 00000000..71a3acda
--- /dev/null
+++ b/facetracknoir/options-dialog.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <QObject>
+#include <QWidget>
+#include "ui_settings.h"
+#include "opentrack/shortcuts.h"
+
+class OptionsDialog: public QWidget
+{
+ Q_OBJECT
+signals:
+ void reload();
+public:
+ OptionsDialog();
+private:
+ Ui::UI_Settings ui;
+ Shortcuts::settings s;
+private slots:
+ void doOK();
+ void doCancel();
+};