summaryrefslogtreecommitdiffhomepage
path: root/gui/curve-config.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-30 08:34:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-10-30 08:39:33 +0100
commit2160e39a4f3d5198eafbb483671583a5a0b51eaa (patch)
tree2370dd4e9a7b43c204d175af3ab2a0ff5b33c41d /gui/curve-config.h
parentaa066bdd4622d4f6824fee864f6be6806813f04d (diff)
rename gui directory
Diffstat (limited to 'gui/curve-config.h')
-rw-r--r--gui/curve-config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gui/curve-config.h b/gui/curve-config.h
new file mode 100644
index 00000000..0cbc7055
--- /dev/null
+++ b/gui/curve-config.h
@@ -0,0 +1,18 @@
+#pragma once
+#include <QWidget>
+#include "opentrack/mappings.hpp"
+#include "ui_mapping.h"
+
+class MapWidget: public QWidget
+{
+ Q_OBJECT
+public:
+ MapWidget(Mappings &m, main_settings &s);
+private:
+ Ui::UICCurveConfigurationDialog ui;
+ Mappings& m;
+ void closeEvent(QCloseEvent *) override { doCancel(); }
+private slots:
+ void doOK();
+ void doCancel();
+};