Browse Source

Adding Button for Mode control

QGC4.4
lm 15 years ago
parent
commit
007db80187
  1. 37
      src/ui/UASControl.ui

37
src/ui/UASControl.ui

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>210</width> <width>328</width>
<height>130</height> <height>357</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
@ -19,7 +19,7 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout" rowstretch="10,10,0,10,10,5,100" columnstretch="0,0,10,10,10,0"> <layout class="QGridLayout" name="gridLayout" rowstretch="10,10,0,10,10,10,10,100" columnstretch="0,10,5,5,10,0">
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
@ -74,7 +74,7 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="0" column="0" rowspan="6"> <item row="0" column="0" rowspan="7">
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -91,7 +91,7 @@
<widget class="QPushButton" name="liftoffButton"> <widget class="QPushButton" name="liftoffButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>80</width> <width>60</width>
<height>12</height> <height>12</height>
</size> </size>
</property> </property>
@ -108,7 +108,7 @@
<widget class="QPushButton" name="landButton"> <widget class="QPushButton" name="landButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>80</width> <width>60</width>
<height>12</height> <height>12</height>
</size> </size>
</property> </property>
@ -125,7 +125,7 @@
<widget class="QPushButton" name="shutdownButton"> <widget class="QPushButton" name="shutdownButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>80</width> <width>60</width>
<height>12</height> <height>12</height>
</size> </size>
</property> </property>
@ -138,7 +138,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="5" rowspan="6"> <item row="0" column="5" rowspan="7">
<spacer name="horizontalSpacer_2"> <spacer name="horizontalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -178,7 +178,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="1" colspan="4"> <item row="6" column="1" colspan="4">
<widget class="QLabel" name="lastActionLabel"> <widget class="QLabel" name="lastActionLabel">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
@ -194,7 +194,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0" colspan="6"> <item row="7" column="0" colspan="6">
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@ -210,6 +210,23 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="5" column="1" colspan="2">
<widget class="QPushButton" name="setHomeButton">
<property name="minimumSize">
<size>
<width>60</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>Set Home</string>
</property>
<property name="icon">
<iconset resource="../../mavground.qrc">
<normaloff>:/images/actions/go-home.svg</normaloff>:/images/actions/go-home.svg</iconset>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources> <resources>

Loading…
Cancel
Save