UASView.ui 17.3 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>UASView</class>
 <widget class="QWidget" name="UASView">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>260</width>
10
    <height>111</height>
pixhawk's avatar
pixhawk committed
11 12 13
   </rect>
  </property>
  <property name="sizePolicy">
14
   <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
pixhawk's avatar
pixhawk committed
15 16 17 18 19 20
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="minimumSize">
   <size>
21
    <width>260</width>
pixhawk's avatar
pixhawk committed
22 23 24
    <height>0</height>
   </size>
  </property>
25 26 27 28 29 30
  <property name="maximumSize">
   <size>
    <width>360</width>
    <height>16777215</height>
   </size>
  </property>
pixhawk's avatar
pixhawk committed
31 32 33 34
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <property name="styleSheet">
35
   <string notr="true">QWidget#colorIcon {}
pixhawk's avatar
pixhawk committed
36 37

QWidget {
38
background-color: #050508;
pixhawk's avatar
pixhawk committed
39
color: #DDDDDF;
40 41 42 43 44 45
background-clip: border;
font-size: 11px;
}

QLabel {
background-color: transparent;
pixhawk's avatar
pixhawk committed
46 47
}

pixhawk's avatar
pixhawk committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
QLabel#nameLabel {
	font: bold 16px;
	color: #3C7B9E;
}

QLabel#modeLabel {
	font: 12px;
}

QLabel#stateLabel {
	font: 12px;
}

QLabel#gpsLabel {
	font: 8px;
}

QLabel#positionLabel {
	font: 8px;
}

QLabel#timeElapsedLabel {
	font: 8px;
}

QLabel#groundDistanceLabel {
	font: 8px;
}

QLabel#speedLabel {
	font: 8px;
}

QLabel#timeRemainingLabel {
	font: 8px;
}

QLabel#waypointLabel {
86
	font: 22px;
pixhawk's avatar
pixhawk committed
87 88
}

pixhawk's avatar
pixhawk committed
89
QGroupBox {
pixhawk's avatar
pixhawk committed
90
	border: 1px solid #4A4A4F;
91
	border-radius: 10px;
pixhawk's avatar
pixhawk committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
	padding: 0px 0px 0px 0px;
	margin: 0px;
}

 QGroupBox::title {
     subcontrol-origin: margin;
     subcontrol-position: top center; /* position at the top center */
     margin: 0 3px 0px 3px;
     padding: 0 3px 0px 0px;
     font: bold 8px;
 }

QGroupBox#heartbeatIcon {
	background-color: red;
}

pixhawk's avatar
pixhawk committed
108 109 110
QToolButton#typeButton {
	font-weight: bold;
	font-size: 12px;
111
	border: 0px solid #999999;
pixhawk's avatar
pixhawk committed
112 113
	border-radius: 5px;
	min-width:44px;
114
	max-width: 80px;
pixhawk's avatar
pixhawk committed
115 116 117 118 119 120
	min-height: 44px;
	max-height: 44px;
	padding: 0px;
	background-color: none;
}

pixhawk's avatar
pixhawk committed
121 122 123 124 125
QPushButton {
	font-weight: bold;
	font-size: 12px;
	border: 1px solid #999999;
	border-radius: 10px;
126
	min-width: 20px;
127
	max-width: 80px;
pixhawk's avatar
pixhawk committed
128 129 130 131 132 133 134 135 136 137
	min-height: 16px;
	max-height: 16px;
	padding: 2px;
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #555555);
}

QPushButton:pressed {
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1 #555555);
}

pixhawk's avatar
pixhawk committed
138
QPushButton#abortButton {
pixhawk's avatar
pixhawk committed
139
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
pixhawk's avatar
pixhawk committed
140
                             stop:0 #ffee01, stop:1 #ae8f00);
pixhawk's avatar
pixhawk committed
141 142
}

pixhawk's avatar
pixhawk committed
143
QPushButton:pressed#abortButton {
pixhawk's avatar
pixhawk committed
144
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
pixhawk's avatar
pixhawk committed
145
                             stop:0 #bbaa00, stop:1 #a05b00);
pixhawk's avatar
pixhawk committed
146 147 148 149
}

QPushButton#killButton {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
pixhawk's avatar
pixhawk committed
150
                             stop:0 #ffb917, stop:1 #b37300);
pixhawk's avatar
pixhawk committed
151 152 153 154
}

QPushButton:pressed#killButton {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
pixhawk's avatar
pixhawk committed
155
                             stop:0 #bb8500, stop:1 #903000);
pixhawk's avatar
pixhawk committed
156 157
}

pixhawk's avatar
pixhawk committed
158

159 160 161 162 163 164 165 166 167 168
QProgressBar:horizontal {
	border: 1px solid #4A4A4F;
	border-radius: 4px;
	text-align: center;
	padding: 2px;
	color: #DDDDDF;
	background-color: #111118;
}

QProgressBar:vertical {
pixhawk's avatar
pixhawk committed
169
	border: 1px solid #4A4A4F;
pixhawk's avatar
pixhawk committed
170 171
	border-radius: 4px;
	text-align: center;
172
	font-size: 7px;
pixhawk's avatar
pixhawk committed
173
	padding: 2px;
pixhawk's avatar
pixhawk committed
174 175
	color: #DDDDDF;
	background-color: #111118;
pixhawk's avatar
pixhawk committed
176 177 178
}

QProgressBar:horizontal {
pixhawk's avatar
pixhawk committed
179
	height: 10px;
pixhawk's avatar
pixhawk committed
180 181
}

182 183 184 185 186 187
QProgressBar:horizontal QLabel {
	font-size: 9px;
}

QProgressBar:vertical QLabel {
	font-size: 7px;
pixhawk's avatar
pixhawk committed
188 189 190
}

QProgressBar:vertical {
191
	width: 14px;
pixhawk's avatar
pixhawk committed
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
}

QProgressBar::chunk {
	background-color: #656565;
}

QProgressBar::chunk#batteryBar {
	background-color: green;
}

QProgressBar::chunk#speedBar {
	background-color: yellow;
}

QProgressBar::chunk#thrustBar {
	background-color: orange;
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
}

QToolTip {
        background-color: #090909;
        border: 1px solid #379AC3;
	border-radius: 3px;
    color: #DDDDDF;
}

QMenu {
    border: 1px solid #379AC3;
background-color: #050508;
color: #DDDDDF;
background-clip: border;
font-size: 11px;
}

QMenu::separator {
     height: 1px;
     background: #379AC3;
     margin-top: 8px;
     margin-bottom: 4px;
     margin-left: 5px;
     margin-right: 5px;
 }</string>
pixhawk's avatar
pixhawk committed
233 234
  </property>
  <layout class="QHBoxLayout" name="horizontalLayout_2">
235 236 237
   <property name="spacing">
    <number>2</number>
   </property>
pixhawk's avatar
pixhawk committed
238
   <property name="margin">
239
    <number>2</number>
pixhawk's avatar
pixhawk committed
240 241
   </property>
   <item>
242
    <widget class="QGroupBox" name="uasViewFrame">
pixhawk's avatar
pixhawk committed
243
     <property name="sizePolicy">
244
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
pixhawk's avatar
pixhawk committed
245 246 247 248 249 250
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
251
       <width>0</width>
pixhawk's avatar
pixhawk committed
252 253 254 255 256 257
       <height>0</height>
      </size>
     </property>
     <property name="title">
      <string/>
     </property>
258
     <layout class="QGridLayout" name="gridLayout" columnstretch="10,10,1,10,10,10,100,100">
pixhawk's avatar
pixhawk committed
259
      <property name="horizontalSpacing">
260
       <number>4</number>
pixhawk's avatar
pixhawk committed
261 262 263 264 265
      </property>
      <property name="verticalSpacing">
       <number>2</number>
      </property>
      <property name="margin">
266
       <number>4</number>
pixhawk's avatar
pixhawk committed
267 268 269 270 271
      </property>
      <item row="0" column="0" rowspan="5" colspan="2">
       <widget class="QToolButton" name="typeButton">
        <property name="minimumSize">
         <size>
272 273
          <width>44</width>
          <height>44</height>
pixhawk's avatar
pixhawk committed
274 275 276 277
         </size>
        </property>
        <property name="maximumSize">
         <size>
278
          <width>80</width>
279
          <height>44</height>
pixhawk's avatar
pixhawk committed
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307
         </size>
        </property>
        <property name="baseSize">
         <size>
          <width>30</width>
          <height>30</height>
         </size>
        </property>
        <property name="text">
         <string>...</string>
        </property>
        <property name="icon">
         <iconset resource="../../mavground.qrc">
          <normaloff>:/images/mavs/unknown.svg</normaloff>:/images/mavs/unknown.svg</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>42</width>
          <height>42</height>
         </size>
        </property>
       </widget>
      </item>
      <item row="0" column="2" rowspan="8">
       <spacer name="horizontalSpacer_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
308 309 310
        <property name="sizeType">
         <enum>QSizePolicy::MinimumExpanding</enum>
        </property>
pixhawk's avatar
pixhawk committed
311 312
        <property name="sizeHint" stdset="0">
         <size>
313
          <width>4</width>
pixhawk's avatar
pixhawk committed
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
          <height>88</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="0" column="3" colspan="3">
       <widget class="QLabel" name="nameLabel">
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>16</height>
         </size>
        </property>
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
329
          <pointsize>-1</pointsize>
pixhawk's avatar
pixhawk committed
330
          <weight>75</weight>
pixhawk's avatar
pixhawk committed
331
          <italic>false</italic>
pixhawk's avatar
pixhawk committed
332 333 334 335 336 337 338 339 340
          <bold>true</bold>
         </font>
        </property>
        <property name="text">
         <string>UAS001</string>
        </property>
       </widget>
      </item>
      <item row="0" column="6" colspan="2">
pixhawk's avatar
pixhawk committed
341
       <widget class="QLabel" name="modeLabel">
pixhawk's avatar
pixhawk committed
342 343 344 345 346 347 348 349
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>16</height>
         </size>
        </property>
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
350
          <pointsize>-1</pointsize>
pixhawk's avatar
pixhawk committed
351
          <weight>50</weight>
pixhawk's avatar
pixhawk committed
352
          <italic>false</italic>
pixhawk's avatar
pixhawk committed
353 354 355 356
          <bold>false</bold>
         </font>
        </property>
        <property name="text">
357
         <string/>
pixhawk's avatar
pixhawk committed
358 359 360 361 362 363 364
        </property>
       </widget>
      </item>
      <item row="1" column="3" rowspan="3">
       <widget class="QLabel" name="timeRemainingLabel">
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
365 366 367 368
          <pointsize>-1</pointsize>
          <weight>50</weight>
          <italic>false</italic>
          <bold>false</bold>
pixhawk's avatar
pixhawk committed
369 370 371 372 373 374 375 376 377 378 379
         </font>
        </property>
        <property name="text">
         <string>00:00:00</string>
        </property>
       </widget>
      </item>
      <item row="1" column="4" rowspan="3" colspan="2">
       <widget class="QLabel" name="timeElapsedLabel">
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
380 381 382 383
          <pointsize>-1</pointsize>
          <weight>50</weight>
          <italic>false</italic>
          <bold>false</bold>
pixhawk's avatar
pixhawk committed
384 385 386 387 388 389 390
         </font>
        </property>
        <property name="text">
         <string>00:00:00</string>
        </property>
       </widget>
      </item>
pixhawk's avatar
pixhawk committed
391
      <item row="3" column="6" rowspan="2" colspan="2">
pixhawk's avatar
pixhawk committed
392 393 394
       <widget class="QProgressBar" name="thrustBar">
        <property name="font">
         <font>
395
          <pointsize>-1</pointsize>
pixhawk's avatar
pixhawk committed
396 397 398 399 400 401 402 403 404 405 406
         </font>
        </property>
        <property name="value">
         <number>0</number>
        </property>
       </widget>
      </item>
      <item row="4" column="3">
       <widget class="QLabel" name="groundDistanceLabel">
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
407 408 409 410
          <pointsize>-1</pointsize>
          <weight>50</weight>
          <italic>false</italic>
          <bold>false</bold>
pixhawk's avatar
pixhawk committed
411 412 413 414 415 416 417 418
         </font>
        </property>
        <property name="text">
         <string>00.00 m</string>
        </property>
       </widget>
      </item>
      <item row="4" column="4" colspan="2">
pixhawk's avatar
pixhawk committed
419
       <widget class="QLabel" name="speedLabel">
pixhawk's avatar
pixhawk committed
420 421
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
422 423 424 425
          <pointsize>-1</pointsize>
          <weight>50</weight>
          <italic>false</italic>
          <bold>false</bold>
pixhawk's avatar
pixhawk committed
426 427 428
         </font>
        </property>
        <property name="text">
pixhawk's avatar
pixhawk committed
429
         <string>00.0 m/s</string>
pixhawk's avatar
pixhawk committed
430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
        </property>
       </widget>
      </item>
      <item row="5" column="0" rowspan="3">
       <widget class="QGroupBox" name="heartbeatIcon">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>18</width>
          <height>0</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>18</width>
          <height>40</height>
         </size>
        </property>
        <property name="title">
         <string/>
        </property>
       </widget>
      </item>
      <item row="5" column="1" rowspan="3">
       <widget class="QProgressBar" name="batteryBar">
        <property name="minimumSize">
         <size>
          <width>18</width>
          <height>0</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>18</width>
          <height>40</height>
         </size>
        </property>
        <property name="font">
         <font>
474
          <pointsize>-1</pointsize>
pixhawk's avatar
pixhawk committed
475 476 477 478 479 480 481 482 483 484 485 486 487 488
         </font>
        </property>
        <property name="value">
         <number>0</number>
        </property>
        <property name="orientation">
         <enum>Qt::Vertical</enum>
        </property>
       </widget>
      </item>
      <item row="5" column="3" rowspan="2" colspan="2">
       <widget class="QLabel" name="stateLabel">
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
489 490 491 492
          <pointsize>-1</pointsize>
          <weight>50</weight>
          <italic>false</italic>
          <bold>false</bold>
pixhawk's avatar
pixhawk committed
493 494 495
         </font>
        </property>
        <property name="text">
496
         <string/>
pixhawk's avatar
pixhawk committed
497 498 499 500 501 502 503
        </property>
       </widget>
      </item>
      <item row="7" column="3" colspan="2">
       <widget class="QLabel" name="waypointLabel">
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
504 505 506 507
          <pointsize>-1</pointsize>
          <weight>50</weight>
          <italic>false</italic>
          <bold>false</bold>
pixhawk's avatar
pixhawk committed
508 509 510
         </font>
        </property>
        <property name="text">
511
         <string>---</string>
pixhawk's avatar
pixhawk committed
512
        </property>
pixhawk's avatar
pixhawk committed
513 514 515
        <property name="alignment">
         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
        </property>
pixhawk's avatar
pixhawk committed
516 517
       </widget>
      </item>
518
      <item row="2" column="6" colspan="2">
pixhawk's avatar
pixhawk committed
519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
       <widget class="QLabel" name="positionLabel">
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>12</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>12</height>
         </size>
        </property>
        <property name="font">
         <font>
pixhawk's avatar
pixhawk committed
534 535 536 537
          <pointsize>-1</pointsize>
          <weight>50</weight>
          <italic>false</italic>
          <bold>false</bold>
pixhawk's avatar
pixhawk committed
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554
         </font>
        </property>
        <property name="text">
         <string>00.0  00.0  00.0 m</string>
        </property>
       </widget>
      </item>
      <item row="5" column="6" colspan="2">
       <widget class="QLabel" name="statusTextLabel">
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>12</height>
         </size>
        </property>
        <property name="font">
         <font>
555
          <pointsize>-1</pointsize>
pixhawk's avatar
pixhawk committed
556 557 558
         </font>
        </property>
        <property name="text">
559
         <string/>
pixhawk's avatar
pixhawk committed
560 561 562
        </property>
       </widget>
      </item>
pixhawk's avatar
pixhawk committed
563
      <item row="6" column="5" rowspan="2" colspan="3">
pixhawk's avatar
pixhawk committed
564 565 566 567 568
       <layout class="QHBoxLayout" name="horizontalLayout">
        <property name="spacing">
         <number>4</number>
        </property>
        <property name="sizeConstraint">
pixhawk's avatar
pixhawk committed
569
         <enum>QLayout::SetMinimumSize</enum>
pixhawk's avatar
pixhawk committed
570 571 572 573 574
        </property>
        <item>
         <widget class="QPushButton" name="liftoffButton">
          <property name="minimumSize">
           <size>
575
            <width>26</width>
pixhawk's avatar
pixhawk committed
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
            <height>22</height>
           </size>
          </property>
          <property name="text">
           <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="haltButton">
          <property name="minimumSize">
           <size>
592
            <width>26</width>
pixhawk's avatar
pixhawk committed
593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608
            <height>22</height>
           </size>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="icon">
           <iconset resource="../../mavground.qrc">
            <normaloff>:/images/actions/media-playback-pause.svg</normaloff>:/images/actions/media-playback-pause.svg</iconset>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="continueButton">
          <property name="minimumSize">
           <size>
609
            <width>26</width>
pixhawk's avatar
pixhawk committed
610 611 612 613 614 615 616 617 618 619 620 621 622
            <height>22</height>
           </size>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="icon">
           <iconset resource="../../mavground.qrc">
            <normaloff>:/images/actions/media-playback-start.svg</normaloff>:/images/actions/media-playback-start.svg</iconset>
          </property>
         </widget>
        </item>
        <item>
pixhawk's avatar
pixhawk committed
623
         <widget class="QPushButton" name="landButton">
pixhawk's avatar
pixhawk committed
624 625
          <property name="minimumSize">
           <size>
626
            <width>26</width>
pixhawk's avatar
pixhawk committed
627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645
            <height>22</height>
           </size>
          </property>
          <property name="text">
           <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="text">
           <string/>
          </property>
          <property name="icon">
           <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
646
            <normaloff>:/images/actions/system-log-out.svg</normaloff>:/images/actions/system-log-out.svg</iconset>
pixhawk's avatar
pixhawk committed
647 648 649 650
          </property>
         </widget>
        </item>
        <item>
pixhawk's avatar
pixhawk committed
651
         <widget class="QPushButton" name="abortButton">
pixhawk's avatar
pixhawk committed
652 653
          <property name="minimumSize">
           <size>
654
            <width>26</width>
pixhawk's avatar
pixhawk committed
655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670
            <height>22</height>
           </size>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="icon">
           <iconset resource="../../mavground.qrc">
            <normaloff>:/images/actions/media-playback-stop.svg</normaloff>:/images/actions/media-playback-stop.svg</iconset>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="killButton">
          <property name="minimumSize">
           <size>
671
            <width>26</width>
pixhawk's avatar
pixhawk committed
672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695
            <height>22</height>
           </size>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="icon">
           <iconset resource="../../mavground.qrc">
            <normaloff>:/images/actions/process-stop.svg</normaloff>:/images/actions/process-stop.svg</iconset>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
 <connections/>
</ui>