summaryrefslogtreecommitdiffhomepage
path: root/gui/curve-config.h
blob: 9a9475b96f86c9939ba663b5cf74ec54212e7b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#include <QWidget>
#include "opentrack-logic/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();
};