From 22ea3ce21453e31e2528a830724605e402a60aa6 Mon Sep 17 00:00:00 2001 From: edouard Date: Sun, 5 Sep 2010 07:13:02 +0000 Subject: [PATCH] OP-52 Ground / GPS Gadget. Fixes, that will be all for now... git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1536 ebee16cc-31ac-478f-84a7-5cbb03baadba --- .../plugins/gpsdisplay/gpsdisplaywidget.cpp | 3 +- .../plugins/gpsdisplay/gpsdisplaywidget.ui | 76 +++++++++++++++---- 2 files changed, 63 insertions(+), 16 deletions(-) diff --git a/ground/src/plugins/gpsdisplay/gpsdisplaywidget.cpp b/ground/src/plugins/gpsdisplay/gpsdisplaywidget.cpp index 722980705..de78dbd6e 100644 --- a/ground/src/plugins/gpsdisplay/gpsdisplaywidget.cpp +++ b/ground/src/plugins/gpsdisplay/gpsdisplaywidget.cpp @@ -94,7 +94,7 @@ void GpsDisplayWidget::dumpPacket(char *packet) void GpsDisplayWidget::setSVs(int sv) { - QString temp = "Fix: Sats: "; + QString temp = "Sats: "; temp.append(QString::number(sv)); status_value->setText(temp); status_value->adjustSize(); @@ -105,6 +105,7 @@ void GpsDisplayWidget::setDOP(double hdop, double vdop, double pdop) QString str; str.sprintf("%.2f / %.2f / %.2f", hdop, vdop, pdop); + dop_value->setText(str); } diff --git a/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui b/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui index c7a1b954b..ef48d4df2 100644 --- a/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui +++ b/ground/src/plugins/gpsdisplay/gpsdisplaywidget.ui @@ -218,6 +218,12 @@ 16 + + + 50 + false + + Unknown @@ -244,6 +250,12 @@ 16 + + + 50 + false + + Unknown @@ -252,7 +264,7 @@ 210 - 40 + 30 71 16 @@ -265,11 +277,17 @@ 280 - 40 + 30 91 16 + + + 50 + false + + Unknown @@ -305,10 +323,16 @@ 80 120 - 101 + 91 17 + + + 50 + false + + Unknown @@ -316,12 +340,18 @@ - 200 + 180 100 - 171 + 191 21 + + + 50 + false + + Unknown @@ -331,10 +361,16 @@ 80 100 - 101 + 91 17 + + + 50 + false + + Unknown @@ -361,6 +397,12 @@ 17 + + + 50 + false + + 0 / 0 / 0 @@ -394,7 +436,7 @@ - 180 + 160 100 20 41 @@ -439,6 +481,12 @@ 16 + + + 50 + false + + Unknown @@ -452,6 +500,12 @@ 16 + + + 50 + false + + Unknown @@ -496,14 +550,6 @@ - dataStreamGroupBox - - flatEarth - graphicsView - frame - frame_2 - frame_3 - gpsSky