summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceTrackNoIR.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-09-28 20:37:14 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-09-28 20:37:14 +0000
commit9a573dbf66f8baddf1aabe79960c8658cbb0ee9e (patch)
treea76130ca3c25127975db1533db4191a2449c1060 /FaceTrackNoIR/FaceTrackNoIR.h
parent35824a2b7c5771dff12b94b27d5be3495bf3bb8a (diff)
UpdateSettings after change of INI-file.
Added curve to tracker git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@21 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FaceTrackNoIR.h')
-rw-r--r--FaceTrackNoIR/FaceTrackNoIR.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.h b/FaceTrackNoIR/FaceTrackNoIR.h
index 410547e2..c14d4e16 100644
--- a/FaceTrackNoIR/FaceTrackNoIR.h
+++ b/FaceTrackNoIR/FaceTrackNoIR.h
@@ -58,6 +58,7 @@ public:
~FaceTrackNoIR();
void getGameProgramName(); // Get the ProgramName from the game and display it.
+ void updateSettings(); // Update the settings (let Tracker read INI-file).
private:
Ui::FaceTrackNoIRClass ui;
@@ -158,7 +159,7 @@ class PreferencesDialog: public QWidget, public Ui::UICPreferencesDialog
Q_OBJECT
public:
- explicit PreferencesDialog( QWidget *parent=0, Qt::WindowFlags f=0 );
+ explicit PreferencesDialog( FaceTrackNoIR *ftnoir, QWidget *parent=0, Qt::WindowFlags f=0 );
virtual ~PreferencesDialog();
void showEvent ( QShowEvent * event );
@@ -169,6 +170,7 @@ private:
/** helper **/
bool settingsDirty;
+ FaceTrackNoIR *mainApp;
private slots:
void doOK();
@@ -182,7 +184,7 @@ class KeyboardShortcutDialog: public QWidget, public Ui::UICKeyboardShortcutDial
Q_OBJECT
public:
- explicit KeyboardShortcutDialog( QWidget *parent=0, Qt::WindowFlags f=0 );
+ explicit KeyboardShortcutDialog( FaceTrackNoIR *ftnoir, QWidget *parent=0, Qt::WindowFlags f=0 );
virtual ~KeyboardShortcutDialog();
void showEvent ( QShowEvent * event );
@@ -193,6 +195,7 @@ private:
/** helper **/
bool settingsDirty;
+ FaceTrackNoIR *mainApp;
QList<QString> stringList; // List of strings, that describe the keyboard-keys
QList<BYTE> keyList; // List of keys, with the values of the keyboard-keys
@@ -208,7 +211,7 @@ class CurveConfigurationDialog: public QWidget, public Ui::UICCurveConfiguration
Q_OBJECT
public:
- explicit CurveConfigurationDialog( QWidget *parent=0, Qt::WindowFlags f=0 );
+ explicit CurveConfigurationDialog( FaceTrackNoIR *ftnoir, QWidget *parent=0, Qt::WindowFlags f=0 );
virtual ~CurveConfigurationDialog();
void showEvent ( QShowEvent * event );
@@ -219,6 +222,7 @@ private:
/** helper **/
bool settingsDirty;
+ FaceTrackNoIR *mainApp;
private slots:
void doOK();