UASControl.ui 6.87 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 116 117 118 119 120 121 122 123
       <property name="text">
        <string>Start</string>
       </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
124 125 126 127 128 129
       <property name="toolTip">
        <string>Fly straight to landing spot</string>
       </property>
       <property name="statusTip">
        <string>Fly straight to landing spot</string>
       </property>
130 131 132 133 134 135 136 137 138 139 140 141 142
       <property name="text">
        <string>Land</string>
       </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
143 144 145 146 147 148
       <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>
149 150 151 152 153 154
       <property name="text">
        <string>Halt</string>
       </property>
      </widget>
     </item>
    </layout>
pixhawk's avatar
pixhawk committed
155
   </item>
156 157
   <item row="5" column="1" colspan="2">
    <widget class="QComboBox" name="modeComboBox">
158 159
     <property name="minimumSize">
      <size>
160 161
       <width>25</width>
       <height>16</height>
162 163
      </size>
     </property>
lm's avatar
lm committed
164 165 166 167 168 169
     <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
170 171
    </widget>
   </item>
172 173
   <item row="5" column="3">
    <widget class="QPushButton" name="setModeButton">
174 175
     <property name="minimumSize">
      <size>
176 177
       <width>25</width>
       <height>16</height>
178 179
      </size>
     </property>
lm's avatar
lm committed
180 181 182 183 184 185
     <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
186
     <property name="text">
187
      <string>Set</string>
pixhawk's avatar
pixhawk committed
188 189 190
     </property>
    </widget>
   </item>
191 192
   <item row="6" column="1" colspan="3">
    <widget class="QLabel" name="lastActionLabel">
193 194 195
     <property name="minimumSize">
      <size>
       <width>0</width>
196
       <height>10</height>
197 198
      </size>
     </property>
lm's avatar
lm committed
199 200 201 202 203 204
     <property name="toolTip">
      <string>Status label</string>
     </property>
     <property name="statusTip">
      <string>Status label</string>
     </property>
pixhawk's avatar
pixhawk committed
205
     <property name="text">
206
      <string>No actions executed so far</string>
pixhawk's avatar
pixhawk committed
207
     </property>
208 209
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
pixhawk's avatar
pixhawk committed
210 211 212
     </property>
    </widget>
   </item>
213 214 215 216 217 218
   <item row="1" column="4" rowspan="6">
    <spacer name="horizontalSpacer_2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
219
      <size>
220 221
       <width>30</width>
       <height>159</height>
222 223
      </size>
     </property>
224
    </spacer>
pixhawk's avatar
pixhawk committed
225
   </item>
226 227
   <item row="2" column="1" colspan="3">
    <widget class="QPushButton" name="controlButton">
lm's avatar
lm committed
228 229
     <property name="minimumSize">
      <size>
230
       <width>0</width>
231
       <height>30</height>
lm's avatar
lm committed
232 233
      </size>
     </property>
lm's avatar
lm committed
234 235 236 237 238 239
     <property name="toolTip">
      <string>Main control button</string>
     </property>
     <property name="statusTip">
      <string>Main control button</string>
     </property>
lm's avatar
lm committed
240
     <property name="text">
241
      <string>Activate Engine</string>
lm's avatar
lm committed
242 243 244
     </property>
    </widget>
   </item>
pixhawk's avatar
pixhawk committed
245 246 247 248 249 250 251 252 253 254 255 256 257
   <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
258 259
  </layout>
 </widget>
Don Gagne's avatar
Don Gagne committed
260
 <resources/>
pixhawk's avatar
pixhawk committed
261 262
 <connections/>
</ui>