diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-09 15:50:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-10 10:41:56 +0200 |
commit | 0eec855f4f5ac86f70525418918fd1ebb4d45e03 (patch) | |
tree | b8014ad75774e00ba3c26f2b781d6ad0c6021c9a /gui/mapping-window.hpp | |
parent | f56f30f1d076c8b48a0bd4ce47b26ede618d2880 (diff) |
spline-widget, gui: rename mapping-related files and classes
Adjust usages.
Diffstat (limited to 'gui/mapping-window.hpp')
-rw-r--r-- | gui/mapping-window.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gui/mapping-window.hpp b/gui/mapping-window.hpp new file mode 100644 index 00000000..e70a27c6 --- /dev/null +++ b/gui/mapping-window.hpp @@ -0,0 +1,21 @@ +#pragma once +#include <QWidget> +#include "opentrack-logic/mappings.hpp" +#include "ui_mapping-window.h" + +class MapWidget final : public QWidget +{ + Q_OBJECT +public: + MapWidget(Mappings& m); + void reload(); +private: + Ui::mapping_window ui; + Mappings& m; + main_settings s; + + void closeEvent(QCloseEvent *) override { doCancel(); } +private slots: + void doOK(); + void doCancel(); +}; |