diff options
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(); +}; |