summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/curve-config.h')
-rw-r--r--facetracknoir/curve-config.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/facetracknoir/curve-config.h b/facetracknoir/curve-config.h
new file mode 100644
index 00000000..1fcddc4e
--- /dev/null
+++ b/facetracknoir/curve-config.h
@@ -0,0 +1,28 @@
+#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 change ) { settingsDirty = true; }
+ void curveChanged( int change ) { settingsDirty = true; }
+};