summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/options-dialog.hpp
blob: 9ad656a4a28037b4e15f1304494fdf0fd4e9435e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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;
private slots:
    void doOK();
    void doCancel();
    void bind_key(value<QString>& ret, QLabel* label);
};