blob: 308b5b0f8ce203b853f141f2e8376e3de24418c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <QObject>
#include <QWidget>
#include "ui_settings.h"
#include "opentrack/shortcuts.h"
class OptionsDialog: public QWidget
{
Q_OBJECT
signals:
void reload();
public:
OptionsDialog();
private:
Ui::UI_Settings ui;
Shortcuts::settings s;
void closeEvent(QCloseEvent *) override { doCancel(); }
private slots:
void doOK();
void doCancel();
void bind_key(Shortcuts::key_opts &kopts, QLabel* label);
};
|