UASInfo.ui 11.4 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>uasInfo</class>
 <widget class="QWidget" name="uasInfo">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
lm's avatar
lm committed
9 10
    <width>455</width>
    <height>220</height>
pixhawk's avatar
pixhawk committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <property name="styleSheet">
   <string notr="true"/>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <item row="0" column="0">
    <widget class="QLabel" name="label">
     <property name="text">
      <string>Battery</string>
     </property>
    </widget>
   </item>
   <item row="0" column="1">
    <spacer name="horizontalSpacer_2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Maximum</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>13</width>
       <height>15</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="0" column="2">
    <widget class="QLabel" name="voltageLabel">
     <property name="text">
      <string>12</string>
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
   <item row="0" column="3">
    <widget class="QLabel" name="label_7">
     <property name="text">
      <string>V</string>
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
69
   <item row="0" column="4" colspan="4">
pixhawk's avatar
pixhawk committed
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
    <widget class="QProgressBar" name="batteryBar">
     <property name="sizePolicy">
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       <horstretch>10</horstretch>
       <verstretch>18</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>100</width>
       <height>0</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>20</height>
      </size>
     </property>
     <property name="baseSize">
      <size>
       <width>0</width>
       <height>18</height>
      </size>
     </property>
     <property name="minimum">
      <number>0</number>
     </property>
     <property name="maximum">
      <number>100</number>
     </property>
     <property name="value">
      <number>80</number>
     </property>
     <property name="textVisible">
      <bool>true</bool>
     </property>
     <property name="format">
      <string>%p%</string>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
112
   <item row="0" column="8" rowspan="6">
lm's avatar
lm committed
113 114 115 116 117 118 119 120 121 122 123 124
    <spacer name="horizontalSpacer">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>40</width>
       <height>108</height>
      </size>
     </property>
    </spacer>
   </item>
pixhawk's avatar
pixhawk committed
125 126 127
   <item row="1" column="0">
    <widget class="QLabel" name="label_2">
     <property name="text">
lm's avatar
lm committed
128
      <string>Recv. Loss</string>
pixhawk's avatar
pixhawk committed
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
     </property>
    </widget>
   </item>
   <item row="1" column="1">
    <spacer name="horizontalSpacer_3">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Maximum</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>13</width>
       <height>15</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="1" column="2">
lm's avatar
lm committed
149
    <widget class="QLabel" name="receiveLossLabel">
pixhawk's avatar
pixhawk committed
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
     <property name="text">
      <string>0</string>
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
   <item row="1" column="3">
    <widget class="QLabel" name="label_8">
     <property name="text">
      <string>%</string>
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
174
   <item row="1" column="4" colspan="4">
lm's avatar
lm committed
175
    <widget class="QProgressBar" name="receiveLossBar">
pixhawk's avatar
pixhawk committed
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
     <property name="sizePolicy">
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       <horstretch>10</horstretch>
       <verstretch>18</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>100</width>
       <height>0</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>20</height>
      </size>
     </property>
     <property name="baseSize">
      <size>
       <width>0</width>
       <height>18</height>
      </size>
     </property>
     <property name="value">
      <number>0</number>
     </property>
     <property name="textVisible">
      <bool>true</bool>
     </property>
     <property name="format">
      <string>%p%</string>
     </property>
    </widget>
   </item>
   <item row="2" column="0">
lm's avatar
lm committed
212
    <widget class="QLabel" name="label_6">
pixhawk's avatar
pixhawk committed
213
     <property name="text">
lm's avatar
lm committed
214
      <string>Send Loss</string>
pixhawk's avatar
pixhawk committed
215 216 217 218
     </property>
    </widget>
   </item>
   <item row="2" column="1">
lm's avatar
lm committed
219
    <spacer name="horizontalSpacer_9">
pixhawk's avatar
pixhawk committed
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Maximum</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>13</width>
       <height>15</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="2" column="2">
lm's avatar
lm committed
235
    <widget class="QLabel" name="sendLossLabel">
pixhawk's avatar
pixhawk committed
236 237 238 239 240 241 242 243 244 245 246 247
     <property name="text">
      <string>0</string>
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
   <item row="2" column="3">
lm's avatar
lm committed
248
    <widget class="QLabel" name="label_11">
pixhawk's avatar
pixhawk committed
249 250 251 252 253 254 255 256 257 258 259
     <property name="text">
      <string>%</string>
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
260
   <item row="2" column="4" colspan="4">
lm's avatar
lm committed
261
    <widget class="QProgressBar" name="sendLossBar">
pixhawk's avatar
pixhawk committed
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
     <property name="sizePolicy">
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       <horstretch>10</horstretch>
       <verstretch>18</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>100</width>
       <height>0</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>20</height>
      </size>
     </property>
     <property name="baseSize">
      <size>
       <width>0</width>
       <height>18</height>
      </size>
     </property>
     <property name="value">
      <number>0</number>
     </property>
     <property name="textVisible">
      <bool>true</bool>
     </property>
     <property name="format">
      <string>%p%</string>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
297 298
   <item row="3" column="0">
    <widget class="QLabel" name="label_3">
pixhawk's avatar
pixhawk committed
299
     <property name="text">
lm's avatar
lm committed
300
      <string>CPU Load</string>
pixhawk's avatar
pixhawk committed
301 302 303
     </property>
    </widget>
   </item>
lm's avatar
lm committed
304 305
   <item row="3" column="1">
    <spacer name="horizontalSpacer_4">
pixhawk's avatar
pixhawk committed
306 307 308 309 310 311 312 313 314 315 316 317 318 319
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Maximum</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>13</width>
       <height>15</height>
      </size>
     </property>
    </spacer>
   </item>
lm's avatar
lm committed
320 321
   <item row="3" column="2">
    <widget class="QLabel" name="loadLabel">
pixhawk's avatar
pixhawk committed
322 323 324 325 326 327 328 329 330 331 332
     <property name="text">
      <string>0</string>
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
333 334
   <item row="3" column="3">
    <widget class="QLabel" name="label_9">
pixhawk's avatar
pixhawk committed
335
     <property name="text">
lm's avatar
lm committed
336
      <string>%</string>
pixhawk's avatar
pixhawk committed
337 338 339 340 341 342 343 344 345
     </property>
     <property name="textFormat">
      <enum>Qt::AutoText</enum>
     </property>
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
346
   <item row="3" column="4" colspan="4">
lm's avatar
lm committed
347
    <widget class="QProgressBar" name="loadBar">
pixhawk's avatar
pixhawk committed
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
     <property name="sizePolicy">
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       <horstretch>10</horstretch>
       <verstretch>18</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>100</width>
       <height>0</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>20</height>
      </size>
     </property>
     <property name="baseSize">
      <size>
       <width>0</width>
       <height>18</height>
      </size>
     </property>
     <property name="value">
lm's avatar
lm committed
373
      <number>24</number>
pixhawk's avatar
pixhawk committed
374 375 376 377 378 379 380 381 382
     </property>
     <property name="textVisible">
      <bool>true</bool>
     </property>
     <property name="format">
      <string>%p%</string>
     </property>
    </widget>
   </item>
lm's avatar
lm committed
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432
   <item row="4" column="0" colspan="8">
    <widget class="Line" name="line">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item row="5" column="0">
    <widget class="QLabel" name="label_4">
     <property name="text">
      <string>I2C Errors</string>
     </property>
    </widget>
   </item>
   <item row="5" column="1" colspan="2">
    <widget class="QLabel" name="i2cErrorLabel">
     <property name="text">
      <string>0</string>
     </property>
    </widget>
   </item>
   <item row="5" column="4">
    <widget class="QLabel" name="label_5">
     <property name="text">
      <string>SPI Errors</string>
     </property>
    </widget>
   </item>
   <item row="5" column="5">
    <widget class="QLabel" name="spiErrorLabel">
     <property name="text">
      <string>0</string>
     </property>
    </widget>
   </item>
   <item row="5" column="6">
    <widget class="QLabel" name="label_10">
     <property name="text">
      <string>UART Errors</string>
     </property>
    </widget>
   </item>
   <item row="5" column="7">
    <widget class="QLabel" name="uartErrorLabel">
     <property name="text">
      <string>0</string>
     </property>
    </widget>
   </item>
   <item row="6" column="0" colspan="9">
lm's avatar
lm committed
433
    <spacer name="verticalSpacer">
pixhawk's avatar
pixhawk committed
434
     <property name="orientation">
lm's avatar
lm committed
435
      <enum>Qt::Vertical</enum>
pixhawk's avatar
pixhawk committed
436 437
     </property>
     <property name="sizeType">
lm's avatar
lm committed
438
      <enum>QSizePolicy::Expanding</enum>
pixhawk's avatar
pixhawk committed
439 440 441 442
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>0</width>
lm's avatar
lm committed
443
       <height>197</height>
pixhawk's avatar
pixhawk committed
444 445
      </size>
     </property>
lm's avatar
lm committed
446
    </spacer>
pixhawk's avatar
pixhawk committed
447 448 449 450 451 452
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>