From 38f0cffede66aac66d69934040623bf1eb3470ad Mon Sep 17 00:00:00 2001 From: cranphin Date: Wed, 8 Sep 2010 23:20:31 +0000 Subject: [PATCH] GPS Viewer: Try to improve scaling a bit, add split thing between log and main view. Hope noone dislikes the changes ;) QT Layouts are fiddly! :) Kinda a work in progress still. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1566 ebee16cc-31ac-478f-84a7-5cbb03baadba --- .../plugins/gpsdisplay/gpsdisplaywidget.ui | 848 ++++++++---------- 1 file changed, 360 insertions(+), 488 deletions(-) diff --git a/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui b/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui index 29f938082..568c78fc0 100644 --- a/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui +++ b/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui @@ -13,504 +13,376 @@ Form - + + + 9 + - - - - - - 0 - 0 - - - - - 300 - 120 - - - - - 400 - 200 - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - - - - 0 - 0 - + + + Qt::Vertical + + + + + + + + + + + + + Coord: + + + + + + + Unknown + + + + + + + Unknown + + + + + + + Unknown + + + + + + + + + + + Speed: + + + + + + + Unknown + + + + + + + Heading: + + + + + + + Unknown + + + + + + + + + Qt::Horizontal + + + + + + + + + H / V / P DOP: + + + + + + + 0 / 0 / 0 + + + + + + + + + Qt::Horizontal + + + + + + + + + Sats Used: + + + + + + + Unknown + + + + + + + + + + + Fix Type: + + + + + + + Unknown + + + + + + + Unknown + + + + + + + + + Qt::Vertical + + + QSizePolicy::Ignored + + + + 20 + 40 + + + + + + + + + + + + + 0 + 0 + + + + + 64 + 64 + + + + + 250 + 250 + + + + Qt::ScrollBarAlwaysOff + + + Qt::ScrollBarAlwaysOff + + + + + + + Qt::Vertical + + + QSizePolicy::Ignored + + + + 20 + 40 + + + + + + + + + + + + + + + 0 + 0 + + + + + 60 + 60 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + 0 - - Coord: + + 0 - - - - - - - 0 - 0 - - - - - 50 - false - - - - Unknown - - - - - - - - 0 - 0 - - - - - 50 - false - - - - Unknown - - - - - - - - 0 - 0 - - - - - 50 - false - - - - Unknown - - - - - - - - - - - - 0 - 0 - - - - Speed: - - - - - - - - 0 - 0 - - - - - 50 - false - - - - Unknown - - - - - - - - 0 - 0 - - - - Heading: - - - - - - - - 0 - 0 - - - - - 50 - false - - - - Unknown - - - - - - - - - Qt::Horizontal - - - - - - - - - - 0 - 0 - - - - H / V / P DOP: - - - - - - - - 0 - 0 - - - - - 50 - false - - - - 0 / 0 / 0 - - - - - - - - - Qt::Horizontal - - - - - - - - - - 0 - 0 - - - - Sats Used: - - - - - - - - 0 - 0 - - - - - 50 - false - - - - Unknown - - - - - - - - - - - Fix Type: - - - - - - - - 0 - 0 - - - - - 50 - false - - - - Unknown - - - - - - - - - 50 - false - - + - Unknown + Connect + + + + + + + Disconnect - - - - - - - - - - - 0 - 0 - - - - - 64 - 64 - - - - - 250 - 250 - - - - - 10 - 10 - - - - - 120 - 120 - - - - - - - - - - - - - 0 - 0 - - - - - 60 - 60 - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - Connect - - - - - - - Disconnect - - - - - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 191 - 95 - - - - - 191 - 95 - - - - false - - - - - - Qt::ScrollBarAlwaysOff - - - Qt::ScrollBarAlwaysOff - - - QGraphicsView::DontAdjustForAntialiasing - - - - - - - - 0 - 0 - - - - - 250 - 95 - - - - - - - - - - - 0 - 0 - - - - - 0 - 100 - - - - - 16777215 - 250 - - - - GPS Data Stream - - - - 0 + + + + + + Qt::Horizontal + + + QSizePolicy::Ignored + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + + 191 + 95 + + + + false + + + + + + Qt::ScrollBarAlwaysOff + + + Qt::ScrollBarAlwaysOff + + + QGraphicsView::DontAdjustForAntialiasing + + + + + + + + 0 + 0 + + + + + 250 + 95 + + + + + + + + + + + GPS Data Stream - - - - - 0 - 0 - - - - - Courier New - 8 - - - - Qt::ScrollBarAlwaysOn - - - QTextEdit::WidgetWidth - - - false - - - - + + + 0 + + + + + + 0 + 0 + + + + + 0 + 50 + + + + Qt::ScrollBarAlwaysOn + + + QTextEdit::WidgetWidth + + + false + + + + +