1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

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
This commit is contained in:
edouard 2010-09-05 07:13:02 +00:00 committed by edouard
parent d689c2cf23
commit 22ea3ce214
2 changed files with 63 additions and 16 deletions

View File

@ -94,7 +94,7 @@ void GpsDisplayWidget::dumpPacket(char *packet)
void GpsDisplayWidget::setSVs(int sv) void GpsDisplayWidget::setSVs(int sv)
{ {
QString temp = "Fix: Sats: "; QString temp = "Sats: ";
temp.append(QString::number(sv)); temp.append(QString::number(sv));
status_value->setText(temp); status_value->setText(temp);
status_value->adjustSize(); status_value->adjustSize();
@ -105,6 +105,7 @@ void GpsDisplayWidget::setDOP(double hdop, double vdop, double pdop)
QString str; QString str;
str.sprintf("%.2f / %.2f / %.2f", hdop, vdop, pdop); str.sprintf("%.2f / %.2f / %.2f", hdop, vdop, pdop);
dop_value->setText(str);
} }

View File

@ -218,6 +218,12 @@
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -244,6 +250,12 @@
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -252,7 +264,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>210</x> <x>210</x>
<y>40</y> <y>30</y>
<width>71</width> <width>71</width>
<height>16</height> <height>16</height>
</rect> </rect>
@ -265,11 +277,17 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>280</x> <x>280</x>
<y>40</y> <y>30</y>
<width>91</width> <width>91</width>
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -305,10 +323,16 @@
<rect> <rect>
<x>80</x> <x>80</x>
<y>120</y> <y>120</y>
<width>101</width> <width>91</width>
<height>17</height> <height>17</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -316,12 +340,18 @@
<widget class="QLabel" name="time_value"> <widget class="QLabel" name="time_value">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>200</x> <x>180</x>
<y>100</y> <y>100</y>
<width>171</width> <width>191</width>
<height>21</height> <height>21</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -331,10 +361,16 @@
<rect> <rect>
<x>80</x> <x>80</x>
<y>100</y> <y>100</y>
<width>101</width> <width>91</width>
<height>17</height> <height>17</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -361,6 +397,12 @@
<height>17</height> <height>17</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>0 / 0 / 0</string> <string>0 / 0 / 0</string>
</property> </property>
@ -394,7 +436,7 @@
<widget class="Line" name="line_5"> <widget class="Line" name="line_5">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>180</x> <x>160</x>
<y>100</y> <y>100</y>
<width>20</width> <width>20</width>
<height>41</height> <height>41</height>
@ -439,6 +481,12 @@
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -452,6 +500,12 @@
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
@ -496,14 +550,6 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<zorder>dataStreamGroupBox</zorder>
<zorder></zorder>
<zorder>flatEarth</zorder>
<zorder>graphicsView</zorder>
<zorder>frame</zorder>
<zorder>frame_2</zorder>
<zorder>frame_3</zorder>
<zorder>gpsSky</zorder>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget> <customwidget>