diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/options-dialog.cpp | 5 | ||||
-rw-r--r-- | gui/options-dialog.ui | 24 |
2 files changed, 26 insertions, 3 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index be846b35..71297a59 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -45,7 +45,10 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) : tie_setting(main.center_at_startup, ui.center_at_startup); tie_setting(main.tcomp_p, ui.tcomp_enable); - tie_setting(main.tcomp_tz, ui.tcomp_rz); + + tie_setting(main.tcomp_disable_tx, ui.tcomp_tx_disable); + tie_setting(main.tcomp_disable_ty, ui.tcomp_ty_disable); + tie_setting(main.tcomp_disable_tz, ui.tcomp_tz_disable); tie_setting(main.a_x.zero, ui.pos_tx); tie_setting(main.a_y.zero, ui.pos_ty); diff --git a/gui/options-dialog.ui b/gui/options-dialog.ui index 7011f156..420a82b8 100644 --- a/gui/options-dialog.ui +++ b/gui/options-dialog.ui @@ -821,12 +821,32 @@ It won't work properly with translation compensation enabled.</string> </widget> </item> <item> - <widget class="QCheckBox" name="tcomp_rz"> + <widget class="QCheckBox" name="tcomp_tx_disable"> <property name="styleSheet"> <string notr="true"/> </property> <property name="text"> - <string>Disable Z axis compensation</string> + <string>Disable X compensation</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="tcomp_ty_disable"> + <property name="styleSheet"> + <string notr="true"/> + </property> + <property name="text"> + <string>Disable Y compensation</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="tcomp_tz_disable"> + <property name="styleSheet"> + <string notr="true"/> + </property> + <property name="text"> + <string>Disable Z compensation</string> </property> </widget> </item> |