summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.h
blob: d2acf3713238388878a7915a5d1dfa65ad6b2dfe (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
#pragma once
#include <QWidget>
#include <QPalette>
#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; }
};