1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

GPS Viewer: more layout tweaks. This looks kinda Ok, I think.. :)

Suggestions/complaints welcome ;)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1573 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
cranphin 2010-09-09 21:01:47 +00:00 committed by cranphin
parent 4db1849c6c
commit 3b0b860c7b

View File

@ -2,25 +2,35 @@
<ui version="4.0"> <ui version="4.0">
<class>GpsDisplayWidget</class> <class>GpsDisplayWidget</class>
<widget class="QWidget" name="GpsDisplayWidget"> <widget class="QWidget" name="GpsDisplayWidget">
<property name="geometry"> <property name="sizePolicy">
<rect> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<x>0</x> <horstretch>0</horstretch>
<y>0</y> <verstretch>0</verstretch>
<width>533</width> </sizepolicy>
<height>424</height>
</rect>
</property> </property>
<property name="windowTitle"> <layout class="QVBoxLayout" name="verticalLayoutTop">
<string>Form</string> <property name="spacing">
</property> <number>0</number>
<layout class="QVBoxLayout" name="verticalLayout_2"> </property>
<property name="margin">
<number>6</number>
</property>
<item> <item>
<widget class="QSplitter" name="splitter"> <widget class="QSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="childrenCollapsible">
<bool>true</bool>
</property>
<widget class="QWidget" name="layoutWidget"> <widget class="QWidget" name="layoutWidget">
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout" rowstretch="1,0" columnstretch="1,0">
<item row="0" column="0"> <item row="0" column="0">
<layout class="QVBoxLayout" name="infoVerticalLayout" stretch="0,0,0,0,0,0,0,0,0,0,0,0,0,1"> <layout class="QVBoxLayout" name="infoVerticalLayout" stretch="0,0,0,0,0,0,0,0,0,0,0,0,0,1">
<property name="spacing"> <property name="spacing">
@ -455,7 +465,7 @@
</layout> </layout>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout2" stretch="0,0,1,0"> <layout class="QHBoxLayout" name="horizontalLayout2" stretch="0,0,0,1,0">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
@ -469,52 +479,29 @@
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>13</width> <width>9</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QFrame" name="frame"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="sizePolicy"> <item>
<sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <widget class="QPushButton" name="connectButton">
<horstretch>0</horstretch> <property name="text">
<verstretch>0</verstretch> <string>Connect</string>
</sizepolicy> </property>
</property> </widget>
<property name="minimumSize"> </item>
<size> <item>
<width>60</width> <widget class="QPushButton" name="disconnectButton">
<height>60</height> <property name="text">
</size> <string>Disconnect</string>
</property> </property>
<property name="frameShape"> </widget>
<enum>QFrame::StyledPanel</enum> </item>
</property> </layout>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="connectButton">
<property name="text">
<string>Connect</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="disconnectButton">
<property name="text">
<string>Disconnect</string>
</property>
</widget>
</item>
</layout>
</widget>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_2"> <spacer name="horizontalSpacer_2">
@ -526,7 +513,20 @@
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>13</width> <width>9</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
@ -535,11 +535,17 @@
<item> <item>
<widget class="QGraphicsView" name="flatEarth"> <widget class="QGraphicsView" name="flatEarth">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>191</width>
<height>95</height>
</size>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>191</width> <width>191</width>
@ -567,12 +573,6 @@
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QGraphicsView" name="graphicsView"> <widget class="QGraphicsView" name="graphicsView">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>250</width> <width>250</width>
@ -583,6 +583,9 @@
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,1"> <layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,1">
<property name="spacing">
<number>0</number>
</property>
<item> <item>
<widget class="GpsConstellationWidget" name="gpsSky"> <widget class="GpsConstellationWidget" name="gpsSky">
<property name="maximumSize"> <property name="maximumSize">