summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.h
blob: a9073840997d055e1fa734efddab608880a60fe9 (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
#pragma once
#include <QWidget>
#include "ui_ftnoir_curves.h"

class FaceTrackNoIR;

class CurveConfigurationDialog: public QWidget
{
    Q_OBJECT
public:
    explicit CurveConfigurationDialog( FaceTrackNoIR *ftnoir, QWidget *parent );
    virtual ~CurveConfigurationDialog();
    void showEvent ( QShowEvent * event );
    void loadSettings();
private:
    Ui::UICCurveConfigurationDialog ui;
    void save();

    bool settingsDirty;
    FaceTrackNoIR *mainApp;

private slots:
    void doOK();
    void doCancel();
    void curveChanged( bool ) { settingsDirty = true; }
    void curveChanged( int ) { settingsDirty = true; }
};