UASControl.ui 5.88 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>uasControl</class>
 <widget class="QWidget" name="uasControl">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>200</width>
    <height>150</height>
pixhawk's avatar
pixhawk committed
11 12
   </rect>
  </property>
13 14 15 16 17 18
  <property name="sizePolicy">
   <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
lm's avatar
lm committed
19 20
  <property name="minimumSize">
   <size>
21 22
    <width>200</width>
    <height>150</height>
23 24 25 26 27 28
   </size>
  </property>
  <property name="maximumSize">
   <size>
    <width>267</width>
    <height>194</height>
lm's avatar
lm committed
29 30
   </size>
  </property>
pixhawk's avatar
pixhawk committed
31 32 33
  <property name="windowTitle">
   <string>Form</string>
  </property>
34 35 36
  <property name="toolTip">
   <string>Control widget to send basic control actions to the micro air vehicle</string>
  </property>
37 38 39 40 41 42 43 44
  <layout class="QGridLayout" name="gridLayout" rowstretch="5,1,40,1,40,40,40" columnstretch="5,20,20,25,5">
   <property name="margin">
    <number>4</number>
   </property>
   <property name="spacing">
    <number>6</number>
   </property>
   <item row="0" column="0" rowspan="7">
45 46 47 48 49 50 51 52 53 54 55 56
    <spacer name="horizontalSpacer">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>31</width>
       <height>159</height>
      </size>
     </property>
    </spacer>
   </item>
57
   <item row="0" column="1" rowspan="2" colspan="3">
pixhawk's avatar
pixhawk committed
58
    <widget class="QLabel" name="controlStatusLabel">
59 60
     <property name="minimumSize">
      <size>
61
       <width>0</width>
62
       <height>10</height>
63 64
      </size>
     </property>
pixhawk's avatar
pixhawk committed
65 66 67 68 69 70
     <property name="text">
      <string>UNCONNECTED</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignCenter</set>
     </property>
71 72 73
     <property name="margin">
      <number>0</number>
     </property>
pixhawk's avatar
pixhawk committed
74 75
    </widget>
   </item>
76 77
   <item row="3" column="1" colspan="3">
    <spacer name="verticalSpacer">
78
     <property name="orientation">
79
      <enum>Qt::Vertical</enum>
80 81 82
     </property>
     <property name="sizeHint" stdset="0">
      <size>
83 84
       <width>216</width>
       <height>17</height>
85 86 87 88
      </size>
     </property>
    </spacer>
   </item>
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
   <item row="4" column="1" colspan="3">
    <layout class="QHBoxLayout" name="horizontalLayout">
     <property name="spacing">
      <number>6</number>
     </property>
     <item>
      <widget class="QPushButton" name="liftoffButton">
       <property name="minimumSize">
        <size>
         <width>25</width>
         <height>16</height>
        </size>
       </property>
       <property name="text">
        <string>Start</string>
       </property>
       <property name="icon">
        <iconset resource="../../mavground.qrc">
         <normaloff>:/images/control/launch.svg</normaloff>:/images/control/launch.svg</iconset>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="landButton">
       <property name="minimumSize">
        <size>
         <width>25</width>
         <height>16</height>
        </size>
       </property>
       <property name="text">
        <string>Land</string>
       </property>
       <property name="icon">
        <iconset resource="../../mavground.qrc">
         <normaloff>:/images/control/land.svg</normaloff>:/images/control/land.svg</iconset>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="shutdownButton">
       <property name="minimumSize">
        <size>
         <width>25</width>
         <height>16</height>
        </size>
       </property>
       <property name="text">
        <string>Halt</string>
       </property>
       <property name="icon">
        <iconset resource="../../mavground.qrc">
         <normaloff>:/images/actions/system-log-out.svg</normaloff>:/images/actions/system-log-out.svg</iconset>
       </property>
      </widget>
     </item>
    </layout>
pixhawk's avatar
pixhawk committed
146
   </item>
147 148
   <item row="5" column="1" colspan="2">
    <widget class="QComboBox" name="modeComboBox">
149 150
     <property name="minimumSize">
      <size>
151 152
       <width>25</width>
       <height>16</height>
153 154
      </size>
     </property>
pixhawk's avatar
pixhawk committed
155 156
    </widget>
   </item>
157 158
   <item row="5" column="3">
    <widget class="QPushButton" name="setModeButton">
159 160
     <property name="minimumSize">
      <size>
161 162
       <width>25</width>
       <height>16</height>
163 164
      </size>
     </property>
pixhawk's avatar
pixhawk committed
165
     <property name="text">
166
      <string>Set</string>
pixhawk's avatar
pixhawk committed
167 168 169
     </property>
     <property name="icon">
      <iconset resource="../../mavground.qrc">
170
       <normaloff>:/images/devices/network-wireless.svg</normaloff>:/images/devices/network-wireless.svg</iconset>
pixhawk's avatar
pixhawk committed
171 172 173
     </property>
    </widget>
   </item>
174 175
   <item row="6" column="1" colspan="3">
    <widget class="QLabel" name="lastActionLabel">
176 177 178
     <property name="minimumSize">
      <size>
       <width>0</width>
179
       <height>10</height>
180 181
      </size>
     </property>
pixhawk's avatar
pixhawk committed
182
     <property name="text">
183
      <string>No actions executed so far</string>
pixhawk's avatar
pixhawk committed
184
     </property>
185 186
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
pixhawk's avatar
pixhawk committed
187 188 189
     </property>
    </widget>
   </item>
190 191 192 193 194 195
   <item row="1" column="4" rowspan="6">
    <spacer name="horizontalSpacer_2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
196
      <size>
197 198
       <width>30</width>
       <height>159</height>
199 200
      </size>
     </property>
201
    </spacer>
pixhawk's avatar
pixhawk committed
202
   </item>
203 204
   <item row="2" column="1" colspan="3">
    <widget class="QPushButton" name="controlButton">
lm's avatar
lm committed
205 206
     <property name="minimumSize">
      <size>
207
       <width>0</width>
208
       <height>30</height>
lm's avatar
lm committed
209 210 211
      </size>
     </property>
     <property name="text">
212
      <string>Activate Engine</string>
lm's avatar
lm committed
213 214 215
     </property>
    </widget>
   </item>
pixhawk's avatar
pixhawk committed
216 217 218 219 220 221 222
  </layout>
 </widget>
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
 <connections/>
</ui>