summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-17 03:11:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-17 04:19:43 +0200
commit59d6976ebef702627b2676eecd3ad5c397072074 (patch)
treee9162769effde8e8665178c7a723d095a7eeb34e /facetracknoir/curve-config.cpp
parent46401fcd2e4e5437e74ca9fca04c7521432566aa (diff)
hook up axis source options
Issue: #52
Diffstat (limited to 'facetracknoir/curve-config.cpp')
-rw-r--r--facetracknoir/curve-config.cpp22
1 files changed, 13 insertions, 9 deletions
diff --git a/facetracknoir/curve-config.cpp b/facetracknoir/curve-config.cpp
index ef63607d..e1f39d03 100644
--- a/facetracknoir/curve-config.cpp
+++ b/facetracknoir/curve-config.cpp
@@ -31,12 +31,19 @@ CurveConfigurationDialog::CurveConfigurationDialog(FaceTrackNoIR *ftnoir, QWidge
tie_setting(mainApp->s.a_pitch.zero, ui.pos_ry);
tie_setting(mainApp->s.a_roll.zero, ui.pos_rz);
- tie_setting(mainApp->s.a_yaw.invert, ui.chkInvertYaw);
- tie_setting(mainApp->s.a_pitch.invert, ui.chkInvertPitch);
- tie_setting(mainApp->s.a_roll.invert, ui.chkInvertRoll);
- tie_setting(mainApp->s.a_x.invert, ui.chkInvertX);
- tie_setting(mainApp->s.a_y.invert, ui.chkInvertY);
- tie_setting(mainApp->s.a_z.invert, ui.chkInvertZ);
+ tie_setting(mainApp->s.a_yaw.invert, ui.invert_yaw);
+ tie_setting(mainApp->s.a_pitch.invert, ui.invert_pitch);
+ tie_setting(mainApp->s.a_roll.invert, ui.invert_roll);
+ tie_setting(mainApp->s.a_x.invert, ui.invert_x);
+ tie_setting(mainApp->s.a_y.invert, ui.invert_y);
+ tie_setting(mainApp->s.a_z.invert, ui.invert_z);
+
+ tie_setting(mainApp->s.a_yaw.src, ui.src_yaw);
+ tie_setting(mainApp->s.a_pitch.src, ui.src_pitch);
+ tie_setting(mainApp->s.a_roll.src, ui.src_roll);
+ tie_setting(mainApp->s.a_x.src, ui.src_x);
+ tie_setting(mainApp->s.a_y.src, ui.src_y);
+ tie_setting(mainApp->s.a_z.src, ui.src_z);
loadSettings();
}
@@ -83,9 +90,6 @@ void CurveConfigurationDialog::loadSettings() {
}
}
-//
-// Save the current Settings to the currently 'active' INI-file.
-//
void CurveConfigurationDialog::save() {
qDebug() << "save() says: started";