UASControl.ui 7.76 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
    <width>200</width>
pixhawk's avatar
pixhawk committed
10
    <height>228</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
   </size>
  </property>
  <property name="maximumSize">
   <size>
    <width>267</width>
pixhawk's avatar
pixhawk committed
28
    <height>16777215</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>
pixhawk's avatar
pixhawk committed
37
  <layout class="QGridLayout" name="gridLayout" rowstretch="5,1,40,1,40,40,40,1000" columnstretch="5,20,20,25,5">
38 39 40 41
   <property name="margin">
    <number>4</number>
   </property>
   <item row="0" column="0" rowspan="7">
42 43 44 45 46 47 48 49 50 51 52 53
    <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>
54
   <item row="0" column="1" rowspan="2" colspan="3">
pixhawk's avatar
pixhawk committed
55
    <widget class="QLabel" name="controlStatusLabel">
56 57
     <property name="minimumSize">
      <size>
58
       <width>0</width>
59
       <height>10</height>
60 61
      </size>
     </property>
lm's avatar
lm committed
62 63 64 65 66 67
     <property name="toolTip">
      <string>Currently controlled system</string>
     </property>
     <property name="statusTip">
      <string>Currently controlled system</string>
     </property>
pixhawk's avatar
pixhawk committed
68 69 70 71 72 73
     <property name="text">
      <string>UNCONNECTED</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignCenter</set>
     </property>
74 75 76
     <property name="margin">
      <number>0</number>
     </property>
pixhawk's avatar
pixhawk committed
77 78
    </widget>
   </item>
79 80
   <item row="3" column="1" colspan="3">
    <spacer name="verticalSpacer">
81
     <property name="orientation">
82
      <enum>Qt::Vertical</enum>
83 84 85
     </property>
     <property name="sizeHint" stdset="0">
      <size>
86 87
       <width>216</width>
       <height>17</height>
88 89 90 91
      </size>
     </property>
    </spacer>
   </item>
92 93 94 95 96 97 98 99 100 101 102 103 104
   <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>
lm's avatar
lm committed
105 106 107 108 109 110
       <property name="toolTip">
        <string>Liftoff / Launch</string>
       </property>
       <property name="statusTip">
        <string>Liftoff / Launch</string>
       </property>
111 112 113 114 115
       <property name="text">
        <string>Start</string>
       </property>
       <property name="icon">
        <iconset resource="../../mavground.qrc">
116
         <normaloff>:/files/images/control/launch.svg</normaloff>:/files/images/control/launch.svg</iconset>
117 118 119 120 121 122 123 124 125 126 127
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="landButton">
       <property name="minimumSize">
        <size>
         <width>25</width>
         <height>16</height>
        </size>
       </property>
lm's avatar
lm committed
128 129 130 131 132 133
       <property name="toolTip">
        <string>Fly straight to landing spot</string>
       </property>
       <property name="statusTip">
        <string>Fly straight to landing spot</string>
       </property>
134 135 136 137 138
       <property name="text">
        <string>Land</string>
       </property>
       <property name="icon">
        <iconset resource="../../mavground.qrc">
139
         <normaloff>:/files/images/control/land.svg</normaloff>:/files/images/control/land.svg</iconset>
140 141 142 143 144 145 146 147 148 149 150
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="shutdownButton">
       <property name="minimumSize">
        <size>
         <width>25</width>
         <height>16</height>
        </size>
       </property>
lm's avatar
lm committed
151 152 153 154 155 156
       <property name="toolTip">
        <string>Only active on the ground: Poweroff system</string>
       </property>
       <property name="statusTip">
        <string>Only active on the ground: Poweroff system</string>
       </property>
157 158 159 160 161
       <property name="text">
        <string>Halt</string>
       </property>
       <property name="icon">
        <iconset resource="../../mavground.qrc">
162
         <normaloff>:/files/images/actions/system-log-out.svg</normaloff>:/files/images/actions/system-log-out.svg</iconset>
163 164 165 166
       </property>
      </widget>
     </item>
    </layout>
pixhawk's avatar
pixhawk committed
167
   </item>
168 169
   <item row="5" column="1" colspan="2">
    <widget class="QComboBox" name="modeComboBox">
170 171
     <property name="minimumSize">
      <size>
172 173
       <width>25</width>
       <height>16</height>
174 175
      </size>
     </property>
lm's avatar
lm committed
176 177 178 179 180 181
     <property name="toolTip">
      <string>Select MAV operation mode</string>
     </property>
     <property name="statusTip">
      <string>Select MAV operation mode</string>
     </property>
pixhawk's avatar
pixhawk committed
182 183
    </widget>
   </item>
184 185
   <item row="5" column="3">
    <widget class="QPushButton" name="setModeButton">
186 187
     <property name="minimumSize">
      <size>
188 189
       <width>25</width>
       <height>16</height>
190 191
      </size>
     </property>
lm's avatar
lm committed
192 193 194 195 196 197
     <property name="toolTip">
      <string>Transmit and enable mode on MAV</string>
     </property>
     <property name="statusTip">
      <string>Transmit and enable mode on MAV</string>
     </property>
pixhawk's avatar
pixhawk committed
198
     <property name="text">
199
      <string>Set</string>
pixhawk's avatar
pixhawk committed
200 201 202
     </property>
     <property name="icon">
      <iconset resource="../../mavground.qrc">
203
       <normaloff>:/files/images/devices/network-wireless.svg</normaloff>:/files/images/devices/network-wireless.svg</iconset>
pixhawk's avatar
pixhawk committed
204 205 206
     </property>
    </widget>
   </item>
207 208
   <item row="6" column="1" colspan="3">
    <widget class="QLabel" name="lastActionLabel">
209 210 211
     <property name="minimumSize">
      <size>
       <width>0</width>
212
       <height>10</height>
213 214
      </size>
     </property>
lm's avatar
lm committed
215 216 217 218 219 220
     <property name="toolTip">
      <string>Status label</string>
     </property>
     <property name="statusTip">
      <string>Status label</string>
     </property>
pixhawk's avatar
pixhawk committed
221
     <property name="text">
222
      <string>No actions executed so far</string>
pixhawk's avatar
pixhawk committed
223
     </property>
224 225
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
pixhawk's avatar
pixhawk committed
226 227 228
     </property>
    </widget>
   </item>
229 230 231 232 233 234
   <item row="1" column="4" rowspan="6">
    <spacer name="horizontalSpacer_2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
235
      <size>
236 237
       <width>30</width>
       <height>159</height>
238 239
      </size>
     </property>
240
    </spacer>
pixhawk's avatar
pixhawk committed
241
   </item>
242 243
   <item row="2" column="1" colspan="3">
    <widget class="QPushButton" name="controlButton">
lm's avatar
lm committed
244 245
     <property name="minimumSize">
      <size>
246
       <width>0</width>
247
       <height>30</height>
lm's avatar
lm committed
248 249
      </size>
     </property>
lm's avatar
lm committed
250 251 252 253 254 255
     <property name="toolTip">
      <string>Main control button</string>
     </property>
     <property name="statusTip">
      <string>Main control button</string>
     </property>
lm's avatar
lm committed
256
     <property name="text">
257
      <string>Activate Engine</string>
lm's avatar
lm committed
258 259 260
     </property>
    </widget>
   </item>
pixhawk's avatar
pixhawk committed
261 262 263 264 265 266 267 268 269 270 271 272 273
   <item row="7" column="1" colspan="3">
    <spacer name="verticalSpacer_2">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>5</height>
      </size>
     </property>
    </spacer>
   </item>
pixhawk's avatar
pixhawk committed
274 275 276 277 278 279 280
  </layout>
 </widget>
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
 <connections/>
</ui>