From 8af1af6afa0eb9e2c733bf0f88eab84fcacbc52d Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Thu, 21 Mar 2013 01:26:29 +0100 Subject: [PATCH] OP-833 cleaned up individual gadget options pages --- .../plugins/coreplugin/workspacesettings.ui | 155 ++++---- .../src/plugins/dial/dialgadgetoptionspage.ui | 182 ++++----- .../ipconnection/ipconnectionoptionspage.ui | 49 +-- .../lineardial/lineardialgadgetoptionspage.ui | 351 +++++++++--------- .../plugins/notify/notifypluginoptionspage.ui | 90 ++--- 5 files changed, 411 insertions(+), 416 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/coreplugin/workspacesettings.ui b/ground/openpilotgcs/src/plugins/coreplugin/workspacesettings.ui index 3287e88d8..206f7acdd 100644 --- a/ground/openpilotgcs/src/plugins/coreplugin/workspacesettings.ui +++ b/ground/openpilotgcs/src/plugins/coreplugin/workspacesettings.ui @@ -79,36 +79,6 @@ - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 10 - - - - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans'; font-size:8pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Note:</span> A restart is needed for changes to number of workspaces to take effect.</p></body></html> - - - - - - @@ -125,40 +95,6 @@ p, li { white-space: pre-wrap; } - - - - - - 1 - - - - Top - - - - - Bottom - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - @@ -166,6 +102,29 @@ p, li { white-space: pre-wrap; } + + + + + 0 + 0 + + + + 1 + + + + Top + + + + + Bottom + + + + @@ -173,6 +132,19 @@ p, li { white-space: pre-wrap; } + + + + Qt::Horizontal + + + + 40 + 20 + + + + @@ -195,33 +167,10 @@ p, li { white-space: pre-wrap; } - - - - Qt::Horizontal - - - - 0 - 20 - - - - - - - - Change details of workspace: - - - - - - - + 0 0 @@ -237,6 +186,36 @@ p, li { white-space: pre-wrap; } + + + + Change details of workspace: + + + + + + + + 0 + 0 + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + diff --git a/ground/openpilotgcs/src/plugins/dial/dialgadgetoptionspage.ui b/ground/openpilotgcs/src/plugins/dial/dialgadgetoptionspage.ui index cbb904f56..a54ebfb57 100644 --- a/ground/openpilotgcs/src/plugins/dial/dialgadgetoptionspage.ui +++ b/ground/openpilotgcs/src/plugins/dial/dialgadgetoptionspage.ui @@ -47,6 +47,42 @@ 0 + + + + 6 + + + QLayout::SetMaximumSize + + + 0 + + + + + + 0 + 0 + + + + Dial SVG: + + + + + + + + 0 + 0 + + + + + + @@ -79,6 +115,52 @@ + + + + 0 + + + + + + 0 + 0 + + + + Dial font: + + + + + + + + 0 + 0 + + + + Select... + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + @@ -103,13 +185,6 @@ - - - - Qt::Horizontal - - - @@ -128,19 +203,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -183,12 +245,25 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + + - 10 + 0 @@ -273,7 +348,7 @@ - 10 + 0 @@ -311,13 +386,6 @@ - - - - Qt::Horizontal - - - @@ -690,62 +758,6 @@ - - - - 10 - - - QLayout::SetMaximumSize - - - 10 - - - - - - 0 - 0 - - - - Dial SVG: - - - - - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - Dial font: - - - - - - - Select... - - - - - diff --git a/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionoptionspage.ui b/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionoptionspage.ui index fa45e7726..8c6ffd5c0 100644 --- a/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionoptionspage.ui +++ b/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionoptionspage.ui @@ -53,30 +53,34 @@ IP Network Telemetry - + Host Name/Number - + - - - - Qt::Horizontal + + + + Port - - - 40 - 20 - - - + - + + + + 1 + + + 999999 + + + + TCP connection @@ -90,23 +94,6 @@ - - - - Port - - - - - - - 1 - - - 999999 - - - diff --git a/ground/openpilotgcs/src/plugins/lineardial/lineardialgadgetoptionspage.ui b/ground/openpilotgcs/src/plugins/lineardial/lineardialgadgetoptionspage.ui index 06c14c183..1d9f91afb 100644 --- a/ground/openpilotgcs/src/plugins/lineardial/lineardialgadgetoptionspage.ui +++ b/ground/openpilotgcs/src/plugins/lineardial/lineardialgadgetoptionspage.ui @@ -47,6 +47,148 @@ 0 + + + + 6 + + + QLayout::SetMaximumSize + + + 0 + + + + + Dial SVG: + + + + + + + + 0 + 0 + + + + + + + + + + 0 + + + + + + 0 + 0 + + + + Dial font: + + + + + + + Select... + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + Use OpenGL + + + true + + + + + + + + + Qt::Horizontal + + + + + + + + + + 0 + 0 + + + + Input: + + + + + + + ObjectName + + + + + + + + 0 + 0 + + + + + + + + ObjectField + + + + + + + + 0 + 0 + + + + + + @@ -254,138 +396,6 @@ - - - - 0 - - - - - - 0 - 0 - - - - Dial font: - - - - - - - Select... - - - - - - - Decimal places: - - - - - - - 99 - - - - - - - Factor: - - - - - - - 6 - - - -10000.000000000000000 - - - 100000.000000000000000 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Horizontal - - - - - - - - - - 0 - 0 - - - - Input: - - - - - - - ObjectName - - - - - - - - 0 - 0 - - - - - - - - ObjectField - - - - - - - - 0 - 0 - - - - - - @@ -456,54 +466,57 @@ - - - - - Use OpenGL - - - true - - - - - - - - - Qt::Horizontal - - - - - - - 10 - - - QLayout::SetMaximumSize - + - 10 + 0 - + - Dial SVG: + Decimal places: - - - - 0 - 0 - + + + 99 + + + + Factor: + + + + + + + 6 + + + -10000.000000000000000 + + + 100000.000000000000000 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + diff --git a/ground/openpilotgcs/src/plugins/notify/notifypluginoptionspage.ui b/ground/openpilotgcs/src/plugins/notify/notifypluginoptionspage.ui index a4b53c2cf..d54b4bfe1 100644 --- a/ground/openpilotgcs/src/plugins/notify/notifypluginoptionspage.ui +++ b/ground/openpilotgcs/src/plugins/notify/notifypluginoptionspage.ui @@ -54,7 +54,7 @@ - 12 + 9 @@ -108,19 +108,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -172,9 +159,6 @@ - - - @@ -229,8 +213,8 @@ Sound Collection - - + + true @@ -249,35 +233,55 @@ - - - - - 0 - 0 - + + + + 0 - - Language - - - - - - - - 147 - 0 - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> + + + + + 0 + 0 + + + + Language + + + + + + + + 147 + 0 + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Select the sound collection</span></p></body></html> - - + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + +