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