From 2c66c32e9185cdfac2d6e0b3b90a0834482aab31 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 5 Sep 2016 20:31:53 +0200 Subject: gui/{main,mappings}: fix tab stops --- gui/main-window.cpp | 1 - gui/main-window.ui | 35 ++++++++++++++++++++++++++--------- gui/main.cpp | 1 - gui/mapping-window.ui | 5 ++--- gui/options-dialog.ui | 22 ++++++++++++++++++---- gui/process_widget.ui | 9 +++++++++ 6 files changed, 55 insertions(+), 18 deletions(-) diff --git a/gui/main-window.cpp b/gui/main-window.cpp index 6cf9b56d..1f0b18af 100644 --- a/gui/main-window.cpp +++ b/gui/main-window.cpp @@ -41,7 +41,6 @@ MainWindow::MainWindow() : ui.setupUi(this); setFixedSize(size()); updateButtonState(false, false); - ui.btnStartTracker->setFocus(); refresh_config_list(); diff --git a/gui/main-window.ui b/gui/main-window.ui index c977809d..3340aca0 100644 --- a/gui/main-window.ui +++ b/gui/main-window.ui @@ -26,7 +26,7 @@ 0 - + 0 @@ -961,6 +961,9 @@ true + + Qt::StrongFocus + Profile @@ -980,6 +983,9 @@ + + Qt::StrongFocus + 20 @@ -1161,6 +1167,9 @@ 0 + + Qt::TabFocus + @@ -1174,6 +1183,9 @@ 0 + + Qt::ClickFocus + 🔨 @@ -1217,6 +1229,9 @@ 0 + + Qt::TabFocus + @@ -1230,6 +1245,9 @@ 0 + + Qt::ClickFocus + 🔨 @@ -1273,6 +1291,9 @@ 0 + + Qt::TabFocus + @@ -1286,6 +1307,9 @@ 0 + + Qt::ClickFocus + 🔨 @@ -1317,19 +1341,12 @@ + btnStartTracker btnStopTracker - iconcomboTrackerSource - btnShowEngineControls - iconcomboProtocol - btnShowServerControls - iconcomboFilter - btnShowFilterControls profile_button iconcomboProfile btnShortcuts btnEditCurves - profile_button - iconcomboProfile diff --git a/gui/main.cpp b/gui/main.cpp index 2e8d13ff..2e809d0f 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -154,7 +154,6 @@ main(int argc, char** argv) } app.setQuitOnLastWindowClosed(false); - app.exec(); qDebug() << "exit: main control"; diff --git a/gui/mapping-window.ui b/gui/mapping-window.ui index 877feed4..c1a52021 100644 --- a/gui/mapping-window.ui +++ b/gui/mapping-window.ui @@ -387,14 +387,13 @@ + tabWidget + rx_altp ry_altp rz_altp tx_altp ty_altp tz_altp - tabWidget - buttonBox - rx_altp diff --git a/gui/options-dialog.ui b/gui/options-dialog.ui index 9a095b35..aa06b407 100644 --- a/gui/options-dialog.ui +++ b/gui/options-dialog.ui @@ -24,7 +24,7 @@ false - + @@ -1273,11 +1273,11 @@ It won't work properly with translation compensation enabled. - false - - true + + Qt::NoFocus + @@ -1374,17 +1374,28 @@ It won't work properly with translation compensation enabled. tabWidget + bind_center + bind_toggle + bind_toggle_held + bind_zero + bind_zero_held + bind_start + bind_stop + bind_toggle_tracking + bind_restart_tracking center_at_startup trayp camera_yaw camera_pitch camera_roll + use_center_as_translation_camera_offset pos_rx pos_ry pos_rz pos_tx pos_ty pos_tz + center_method tcomp_enable tcomp_rz src_yaw @@ -1399,6 +1410,9 @@ It won't work properly with translation compensation enabled. invert_y src_z invert_z + tracklogging_enabled + tracklogging_fileselectbtn + tracklogging_filenameedit diff --git a/gui/process_widget.ui b/gui/process_widget.ui index aec0cf36..2fa30d38 100644 --- a/gui/process_widget.ui +++ b/gui/process_widget.ui @@ -22,6 +22,9 @@ 0 + + Qt::NoFocus + Executable @@ -116,6 +119,12 @@
process-detector-fancy-table.hpp
+ + tableWidget + add + remove + enabled + -- cgit v1.2.3