WaypointView.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>WaypointView</class>
 <widget class="QWidget" name="WaypointView">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>1389</width>
10
    <height>39</height>
pixhawk's avatar
pixhawk committed
11 12 13
   </rect>
  </property>
  <property name="sizePolicy">
14
   <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
pixhawk's avatar
pixhawk committed
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 69 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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="minimumSize">
   <size>
    <width>200</width>
    <height>0</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <property name="styleSheet">
   <string>QWidget#colorIcon {}

QWidget {
background-color: #252528;
color: #DDDDDF;
border-color: #EEEEEE;
background-clip: border;
}

QCheckBox {
background-color: #252528;
color: #454545;
}

QGroupBox {
	border: 1px solid #EEEEEE;
	border-radius: 5px;
	padding: 0px 0px 0px 0px;
margin-top: 1ex; /* leave space at the top for the title */
	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;
}

 QDockWidget {
	font: bold;
    border: 1px solid #32345E;
}

QPushButton {
	font-weight: bold;
	font-size: 12px;
	border: 1px solid #999999;
	border-radius: 10px;
	min-width:22px;
	max-width: 36px;
	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);
}

QPushButton#landButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffee01, stop:1 #ae8f00) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QPushButton:pressed#landButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bbaa00, stop:1 #a05b00) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QPushButton#killButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #ffb917, stop:1 #b37300) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QPushButton:pressed#killButton {
	color: #000000;
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                             stop:0 #bb8500, stop:1 #903000) url(&quot;ICONDIR/control/emergency-button.png&quot;);
}

QProgressBar {
	border: 1px solid white;
	border-radius: 4px;
	text-align: center;
	padding: 2px;
	color: white;
	background-color: #111111;
}

QProgressBar:horizontal {
	height: 12px;
}

QProgressBar QLabel {
	font-size: 8px;
}

QProgressBar:vertical {
	width: 12px;
}

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

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

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

QProgressBar::chunk#thrustBar {
	background-color: orange;
}</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <property name="margin">
    <number>0</number>
   </property>
   <property name="spacing">
    <number>0</number>
   </property>
   <item row="0" column="0">
    <widget class="QGroupBox" name="groupBox">
155 156 157 158 159 160
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
pixhawk's avatar
pixhawk committed
161 162 163
     <property name="title">
      <string/>
     </property>
164
     <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0">
pixhawk's avatar
pixhawk committed
165 166 167 168
      <property name="spacing">
       <number>2</number>
      </property>
      <property name="margin">
pixhawk's avatar
pixhawk committed
169
       <number>2</number>
pixhawk's avatar
pixhawk committed
170 171 172
      </property>
      <item>
       <widget class="QCheckBox" name="selectedBox">
pixhawk's avatar
pixhawk committed
173 174 175
        <property name="focusPolicy">
         <enum>Qt::TabFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
        <property name="toolTip">
         <string>Currently selected waypoint</string>
        </property>
        <property name="text">
         <string/>
        </property>
        <property name="iconSize">
         <size>
          <width>16</width>
          <height>16</height>
         </size>
        </property>
       </widget>
      </item>
      <item>
191
       <widget class="QLabel" name="idLabel">
pixhawk's avatar
pixhawk committed
192 193 194 195 196 197 198 199 200
        <property name="minimumSize">
         <size>
          <width>15</width>
          <height>0</height>
         </size>
        </property>
        <property name="toolTip">
         <string>Waypoint Sequence Number</string>
        </property>
pixhawk's avatar
pixhawk committed
201
        <property name="text">
202
         <string>TextLabel</string>
pixhawk's avatar
pixhawk committed
203
        </property>
pixhawk's avatar
pixhawk committed
204 205 206
        <property name="alignment">
         <set>Qt::AlignCenter</set>
        </property>
pixhawk's avatar
pixhawk committed
207 208 209
       </widget>
      </item>
      <item>
210 211 212 213 214 215
       <widget class="QComboBox" name="comboBox_action">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
pixhawk's avatar
pixhawk committed
216
        </property>
217 218 219 220 221 222 223 224 225
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="comboBox_frame">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
pixhawk's avatar
pixhawk committed
226
        </property>
227
       </widget>
pixhawk's avatar
pixhawk committed
228 229
      </item>
      <item>
230 231 232 233 234 235 236
       <widget class="QDoubleSpinBox" name="posNSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
237
        <property name="focusPolicy">
238
         <enum>Qt::WheelFocus</enum>
pixhawk's avatar
pixhawk committed
239
        </property>
pixhawk's avatar
pixhawk committed
240 241 242
        <property name="toolTip">
         <string>Position X coordinate</string>
        </property>
243 244 245
        <property name="wrapping">
         <bool>false</bool>
        </property>
pixhawk's avatar
pixhawk committed
246 247 248 249 250 251
        <property name="frame">
         <bool>true</bool>
        </property>
        <property name="accelerated">
         <bool>true</bool>
        </property>
252 253 254
        <property name="prefix">
         <string>N </string>
        </property>
pixhawk's avatar
pixhawk committed
255
        <property name="suffix">
pixhawk's avatar
pixhawk committed
256
         <string> m</string>
pixhawk's avatar
pixhawk committed
257
        </property>
pixhawk's avatar
pixhawk committed
258
        <property name="minimum">
259
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
260 261
        </property>
        <property name="maximum">
262
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
263
        </property>
pixhawk's avatar
pixhawk committed
264 265 266
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
267 268 269
       </widget>
      </item>
      <item>
270 271 272 273 274 275 276
       <widget class="QDoubleSpinBox" name="posESpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
277
        <property name="focusPolicy">
278
         <enum>Qt::WheelFocus</enum>
pixhawk's avatar
pixhawk committed
279
        </property>
pixhawk's avatar
pixhawk committed
280 281 282
        <property name="toolTip">
         <string>Position Y coordinate</string>
        </property>
283 284 285
        <property name="prefix">
         <string>E </string>
        </property>
pixhawk's avatar
pixhawk committed
286
        <property name="suffix">
pixhawk's avatar
pixhawk committed
287
         <string> m</string>
pixhawk's avatar
pixhawk committed
288
        </property>
pixhawk's avatar
pixhawk committed
289
        <property name="minimum">
290
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
291 292
        </property>
        <property name="maximum">
293
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
294
        </property>
pixhawk's avatar
pixhawk committed
295 296 297
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
298 299 300 301 302 303
        <property name="value">
         <double>0.000000000000000</double>
        </property>
       </widget>
      </item>
      <item>
304 305 306 307 308 309 310
       <widget class="QDoubleSpinBox" name="posDSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
311
        <property name="focusPolicy">
312
         <enum>Qt::WheelFocus</enum>
pixhawk's avatar
pixhawk committed
313
        </property>
pixhawk's avatar
pixhawk committed
314
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
315
         <string>Position Z coordinate (negative)</string>
pixhawk's avatar
pixhawk committed
316
        </property>
317 318 319
        <property name="prefix">
         <string>D </string>
        </property>
pixhawk's avatar
pixhawk committed
320
        <property name="suffix">
pixhawk's avatar
pixhawk committed
321
         <string> m</string>
pixhawk's avatar
pixhawk committed
322
        </property>
pixhawk's avatar
pixhawk committed
323
        <property name="minimum">
324
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
325 326
        </property>
        <property name="maximum">
327
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
328 329 330
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
pixhawk's avatar
pixhawk committed
331 332 333
        </property>
       </widget>
      </item>
334 335 336 337 338 339 340 341
      <item>
       <widget class="QDoubleSpinBox" name="latSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
342
        <property name="focusPolicy">
343
         <enum>Qt::WheelFocus</enum>
pixhawk's avatar
pixhawk committed
344
        </property>
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359
        <property name="prefix">
         <string>lat </string>
        </property>
        <property name="suffix">
         <string>°</string>
        </property>
        <property name="decimals">
         <number>7</number>
        </property>
        <property name="minimum">
         <double>-90.000000000000000</double>
        </property>
        <property name="maximum">
         <double>90.000000000000000</double>
        </property>
360 361 362
        <property name="singleStep">
         <double>0.000010000000000</double>
        </property>
363 364 365 366 367 368 369 370 371 372
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="lonSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
373
        <property name="focusPolicy">
374
         <enum>Qt::WheelFocus</enum>
pixhawk's avatar
pixhawk committed
375
        </property>
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
        <property name="prefix">
         <string>lon </string>
        </property>
        <property name="suffix">
         <string>°</string>
        </property>
        <property name="decimals">
         <number>7</number>
        </property>
        <property name="minimum">
         <double>-180.000000000000000</double>
        </property>
        <property name="maximum">
         <double>180.000000000000000</double>
        </property>
391 392 393
        <property name="singleStep">
         <double>0.000010000000000</double>
        </property>
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="altSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="prefix">
         <string>alt </string>
        </property>
        <property name="suffix">
         <string>m</string>
        </property>
        <property name="decimals">
411
         <number>2</number>
412 413 414 415 416 417 418 419 420
        </property>
        <property name="minimum">
         <double>-100000.000000000000000</double>
        </property>
        <property name="maximum">
         <double>100000.000000000000000</double>
        </property>
       </widget>
      </item>
pixhawk's avatar
pixhawk committed
421
      <item>
pixhawk's avatar
pixhawk committed
422
       <widget class="QSpinBox" name="yawSpinBox">
423 424 425 426 427 428
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
429 430 431
        <property name="focusPolicy">
         <enum>Qt::StrongFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
432 433 434 435 436 437 438 439
        <property name="toolTip">
         <string>Yaw angle</string>
        </property>
        <property name="wrapping">
         <bool>true</bool>
        </property>
        <property name="suffix">
         <string>°</string>
pixhawk's avatar
pixhawk committed
440
        </property>
pixhawk's avatar
pixhawk committed
441 442 443
        <property name="minimum">
         <number>-180</number>
        </property>
pixhawk's avatar
pixhawk committed
444
        <property name="maximum">
pixhawk's avatar
pixhawk committed
445
         <number>180</number>
pixhawk's avatar
pixhawk committed
446
        </property>
pixhawk's avatar
pixhawk committed
447 448 449 450 451 452 453
        <property name="singleStep">
         <number>10</number>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="orbitSpinBox">
454 455 456 457 458 459
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
460 461 462
        <property name="focusPolicy">
         <enum>Qt::StrongFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
463 464 465 466 467 468 469 470 471 472
        <property name="toolTip">
         <string>Orbit radius</string>
        </property>
        <property name="suffix">
         <string> m</string>
        </property>
        <property name="minimum">
         <double>0.050000000000000</double>
        </property>
        <property name="maximum">
473
         <double>100.000000000000000</double>
pixhawk's avatar
pixhawk committed
474 475 476 477
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
478 479 480
        <property name="value">
         <double>20.000000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
481 482 483 484
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="holdTimeSpinBox">
485 486 487 488 489 490
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
491 492 493
        <property name="focusPolicy">
         <enum>Qt::StrongFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
494
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
495 496
         <string>Time in milliseconds that the MAV has to stay inside the orbit before advancing</string>
        </property>
pixhawk's avatar
pixhawk committed
497 498 499
        <property name="statusTip">
         <string/>
        </property>
pixhawk's avatar
pixhawk committed
500 501 502 503 504 505 506 507 508 509
        <property name="suffix">
         <string> ms</string>
        </property>
        <property name="maximum">
         <number>60000</number>
        </property>
        <property name="singleStep">
         <number>500</number>
        </property>
        <property name="value">
pixhawk's avatar
pixhawk committed
510
         <number>0</number>
pixhawk's avatar
pixhawk committed
511
        </property>
pixhawk's avatar
pixhawk committed
512 513 514
       </widget>
      </item>
      <item>
515 516 517 518 519 520 521
       <widget class="QDoubleSpinBox" name="takeOffAngleSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
522 523 524
        <property name="focusPolicy">
         <enum>Qt::StrongFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
525
        <property name="toolTip">
526
         <string>Take off angle</string>
pixhawk's avatar
pixhawk committed
527
        </property>
528
        <property name="prefix">
pixhawk's avatar
pixhawk committed
529
         <string/>
James Goppert's avatar
James Goppert committed
530
        </property>
531 532 533
        <property name="suffix">
         <string>°</string>
        </property>
James Goppert's avatar
James Goppert committed
534 535 536
       </widget>
      </item>
      <item>
537
       <widget class="QCheckBox" name="autoContinue">
James Goppert's avatar
James Goppert committed
538
        <property name="toolTip">
539
         <string>Automatically continue after this waypoint</string>
James Goppert's avatar
James Goppert committed
540 541 542
        </property>
        <property name="text">
         <string/>
pixhawk's avatar
pixhawk committed
543 544 545 546 547 548 549 550 551 552 553
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="upButton">
        <property name="minimumSize">
         <size>
          <width>28</width>
          <height>22</height>
         </size>
        </property>
pixhawk's avatar
pixhawk committed
554 555 556
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
557 558 559
        <property name="toolTip">
         <string>Move Up</string>
        </property>
pixhawk's avatar
pixhawk committed
560 561 562 563
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
564
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
565 566 567 568 569 570 571 572 573 574 575 576
          <normaloff>:/images/actions/go-up.svg</normaloff>:/images/actions/go-up.svg</iconset>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="downButton">
        <property name="minimumSize">
         <size>
          <width>28</width>
          <height>22</height>
         </size>
        </property>
pixhawk's avatar
pixhawk committed
577 578 579
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
580 581 582
        <property name="toolTip">
         <string>Move Down</string>
        </property>
pixhawk's avatar
pixhawk committed
583 584 585 586
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
587
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
588 589 590 591 592 593 594 595 596 597 598 599
          <normaloff>:/images/actions/go-down.svg</normaloff>:/images/actions/go-down.svg</iconset>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="removeButton">
        <property name="minimumSize">
         <size>
          <width>28</width>
          <height>22</height>
         </size>
        </property>
pixhawk's avatar
pixhawk committed
600 601 602
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
pixhawk's avatar
pixhawk committed
603 604 605
        <property name="toolTip">
         <string>Delete</string>
        </property>
pixhawk's avatar
pixhawk committed
606 607 608 609
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
610
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
611 612 613 614 615 616 617 618 619
          <normaloff>:/images/actions/list-remove.svg</normaloff>:/images/actions/list-remove.svg</iconset>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
pixhawk's avatar
pixhawk committed
620 621 622
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
pixhawk's avatar
pixhawk committed
623 624
 <connections/>
</ui>