blob: 9403bfb5ffd2965b610da3b7c6ebc54a475cc579 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include "logic/mappings.hpp"
#include "ui_mapping-window.h"
#include <QWidget>
#include <QDialog>
#include <QShowEvent>
#include <QCloseEvent>
#include <QCheckBox>
class MapWidget final : public QDialog
{
Q_OBJECT
public:
MapWidget(Mappings& m);
private:
Ui::mapping_window ui;
Mappings& m;
main_settings s;
void closeEvent(QCloseEvent*) override;
void load();
void save_dialog();
void invalidate_dialog();
private slots:
void doOK();
void doCancel();
};
|