From dfc5d086517f281c977c131bb50bde5e571df9b7 Mon Sep 17 00:00:00 2001 From: pixhawk Date: Sun, 19 Sep 2010 08:23:41 +0200 Subject: [PATCH] Visual improvements --- src/ui/ParameterInterface.ui | 14 ++- src/ui/QGCSensorSettingsWidget.ui | 153 +++++++++++++++++------------- src/ui/WaypointGlobalView.ui | 77 +++++++-------- src/ui/WaypointView.ui | 14 +-- 4 files changed, 139 insertions(+), 119 deletions(-) diff --git a/src/ui/ParameterInterface.ui b/src/ui/ParameterInterface.ui index df9a778ba..daaa2e6bc 100644 --- a/src/ui/ParameterInterface.ui +++ b/src/ui/ParameterInterface.ui @@ -13,7 +13,16 @@ Form - + + + 5 + + + 2 + + + 6 + @@ -30,6 +39,9 @@ Onboard Parameters + + 3 + diff --git a/src/ui/QGCSensorSettingsWidget.ui b/src/ui/QGCSensorSettingsWidget.ui index ab8c2583f..40be710d9 100644 --- a/src/ui/QGCSensorSettingsWidget.ui +++ b/src/ui/QGCSensorSettingsWidget.ui @@ -6,135 +6,152 @@ 0 0 - 350 - 545 + 319 + 221 Form - + 0 - - + + - Activate Extended Output + Calibration Wizards - - + + + 6 + + + 2 + + + 6 + + + 2 + + + 12 + + 6 - + - Send RAW Sensor data + RC Calibration - - + + - Send extended status + Mag. Calibration - - + + - Send RC-values + Gyro Calibration - - + + - Send raw controller outputs + Pressure Calibration - - + + + + + + + Activate Extended Output + + + + 6 + + + 2 + + + 6 + + + 2 + + + 5 + + + 2 + + + - Send position setpoint and estimate + RAW Sensor Data - - + + - Send Extra1 + RC Values - - + + - Send Extra2 + Position setpoint - - + + - Send Extra3 + Raw Controller - - - - - - - Calibration Wizards - - - - 6 - - - + + - Start Mag. Calibration + Send Extra1 - - + + - Start Gyro Calibration + Attitude - - + + - Start RC Calibration + Send Extra2 - - + + - Start Pressure Calibration + Send Extra3 - - - - Qt::Horizontal - - - - 0 - 0 - - - - diff --git a/src/ui/WaypointGlobalView.ui b/src/ui/WaypointGlobalView.ui index 7ad20e385..8a0428239 100644 --- a/src/ui/WaypointGlobalView.ui +++ b/src/ui/WaypointGlobalView.ui @@ -6,12 +6,12 @@ 0 0 - 869 - 60 + 774 + 184 - + 0 0 @@ -144,6 +144,15 @@ QProgressBar::chunk#thrustBar { } + + QLayout::SetDefaultConstraint + + + 0 + + + 0 + @@ -155,7 +164,13 @@ QProgressBar::chunk#thrustBar { - + + + 2 + + + 2 + @@ -168,10 +183,13 @@ QProgressBar::chunk#thrustBar { Qt::Horizontal + + QSizePolicy::MinimumExpanding + - 135 - 13 + 2 + 0 @@ -184,26 +202,7 @@ QProgressBar::chunk#thrustBar { - - - - 0 - 0 - - - - - 120 - 25 - - - - Qt::ScrollBarAlwaysOff - - - true - - + @@ -212,8 +211,8 @@ QProgressBar::chunk#thrustBar { - 50 - 30 + 2 + 0 @@ -226,30 +225,20 @@ QProgressBar::chunk#thrustBar { - - - - 120 - 25 - - - - Qt::ScrollBarAlwaysOff - - - true - - + Qt::Horizontal + + QSizePolicy::MinimumExpanding + - 50 - 30 + 2 + 0 diff --git a/src/ui/WaypointView.ui b/src/ui/WaypointView.ui index 5c8f32af7..2e71ed016 100644 --- a/src/ui/WaypointView.ui +++ b/src/ui/WaypointView.ui @@ -160,7 +160,7 @@ QProgressBar::chunk#thrustBar { 2 - 5 + 2 @@ -205,7 +205,7 @@ QProgressBar::chunk#thrustBar { 25 - 12 + 0 @@ -355,7 +355,7 @@ QProgressBar::chunk#thrustBar { - + :/images/actions/go-up.svg:/images/actions/go-up.svg @@ -375,7 +375,7 @@ QProgressBar::chunk#thrustBar { - + :/images/actions/go-down.svg:/images/actions/go-down.svg @@ -395,7 +395,7 @@ QProgressBar::chunk#thrustBar { - + :/images/actions/list-remove.svg:/images/actions/list-remove.svg @@ -405,6 +405,8 @@ QProgressBar::chunk#thrustBar { - + + + -- 2.22.0