summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/options-dialog.hpp
blob: 0ab9849dee00083ca75bcf72f69dc67e47d7fdf3 (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<int>& ret, QLabel* label);
};