WaypointView.ui 15.7 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 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
      </property>
      <item>
       <widget class="QCheckBox" name="selectedBox">
        <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>
188
       <widget class="QLabel" name="idLabel">
pixhawk's avatar
pixhawk committed
189 190 191 192 193 194 195 196 197
        <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
198
        <property name="text">
199
         <string>TextLabel</string>
pixhawk's avatar
pixhawk committed
200
        </property>
pixhawk's avatar
pixhawk committed
201 202 203
        <property name="alignment">
         <set>Qt::AlignCenter</set>
        </property>
pixhawk's avatar
pixhawk committed
204 205 206
       </widget>
      </item>
      <item>
207 208 209 210 211 212
       <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
213
        </property>
214 215 216 217 218 219 220 221 222
       </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
223
        </property>
224
       </widget>
pixhawk's avatar
pixhawk committed
225 226
      </item>
      <item>
227 228 229 230 231 232 233
       <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
234 235 236
        <property name="toolTip">
         <string>Position X coordinate</string>
        </property>
237 238 239
        <property name="prefix">
         <string>N </string>
        </property>
pixhawk's avatar
pixhawk committed
240
        <property name="suffix">
pixhawk's avatar
pixhawk committed
241
         <string> m</string>
pixhawk's avatar
pixhawk committed
242
        </property>
pixhawk's avatar
pixhawk committed
243
        <property name="minimum">
244
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
245 246
        </property>
        <property name="maximum">
247
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
248
        </property>
pixhawk's avatar
pixhawk committed
249 250 251
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
252 253 254
       </widget>
      </item>
      <item>
255 256 257 258 259 260 261
       <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
262 263 264
        <property name="toolTip">
         <string>Position Y coordinate</string>
        </property>
265 266 267
        <property name="prefix">
         <string>E </string>
        </property>
pixhawk's avatar
pixhawk committed
268
        <property name="suffix">
pixhawk's avatar
pixhawk committed
269
         <string> m</string>
pixhawk's avatar
pixhawk committed
270
        </property>
pixhawk's avatar
pixhawk committed
271
        <property name="minimum">
272
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
273 274
        </property>
        <property name="maximum">
275
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
276
        </property>
pixhawk's avatar
pixhawk committed
277 278 279
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
280 281 282 283 284 285
        <property name="value">
         <double>0.000000000000000</double>
        </property>
       </widget>
      </item>
      <item>
286 287 288 289 290 291 292
       <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
293
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
294
         <string>Position Z coordinate (negative)</string>
pixhawk's avatar
pixhawk committed
295
        </property>
296 297 298
        <property name="prefix">
         <string>D </string>
        </property>
pixhawk's avatar
pixhawk committed
299
        <property name="suffix">
pixhawk's avatar
pixhawk committed
300
         <string> m</string>
pixhawk's avatar
pixhawk committed
301
        </property>
pixhawk's avatar
pixhawk committed
302
        <property name="minimum">
303
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
304 305
        </property>
        <property name="maximum">
306
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
307 308 309
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
pixhawk's avatar
pixhawk committed
310 311 312
        </property>
       </widget>
      </item>
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 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 373 374 375 376 377
      <item>
       <widget class="QDoubleSpinBox" name="latSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <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>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="lonSpinBox">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <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>
       </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">
378
         <number>2</number>
379 380 381 382 383 384 385 386 387
        </property>
        <property name="minimum">
         <double>-100000.000000000000000</double>
        </property>
        <property name="maximum">
         <double>100000.000000000000000</double>
        </property>
       </widget>
      </item>
pixhawk's avatar
pixhawk committed
388
      <item>
pixhawk's avatar
pixhawk committed
389
       <widget class="QSpinBox" name="yawSpinBox">
390 391 392 393 394 395
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
396 397 398 399 400 401 402 403
        <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
404
        </property>
pixhawk's avatar
pixhawk committed
405 406 407
        <property name="minimum">
         <number>-180</number>
        </property>
pixhawk's avatar
pixhawk committed
408
        <property name="maximum">
pixhawk's avatar
pixhawk committed
409
         <number>180</number>
pixhawk's avatar
pixhawk committed
410
        </property>
pixhawk's avatar
pixhawk committed
411 412 413 414 415 416 417
        <property name="singleStep">
         <number>10</number>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="orbitSpinBox">
418 419 420 421 422 423
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
424 425 426 427 428 429 430 431 432 433
        <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">
434
         <double>100.000000000000000</double>
pixhawk's avatar
pixhawk committed
435 436 437 438
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
439 440 441
        <property name="value">
         <double>20.000000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
442 443 444 445
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="holdTimeSpinBox">
446 447 448 449 450 451
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
452
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
453 454
         <string>Time in milliseconds that the MAV has to stay inside the orbit before advancing</string>
        </property>
pixhawk's avatar
pixhawk committed
455 456 457
        <property name="statusTip">
         <string/>
        </property>
pixhawk's avatar
pixhawk committed
458 459 460 461 462 463 464 465 466 467
        <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
468
         <number>0</number>
pixhawk's avatar
pixhawk committed
469
        </property>
pixhawk's avatar
pixhawk committed
470 471 472
       </widget>
      </item>
      <item>
473 474 475 476 477 478 479
       <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
480
        <property name="toolTip">
481
         <string>Take off angle</string>
pixhawk's avatar
pixhawk committed
482
        </property>
483
        <property name="prefix">
pixhawk's avatar
pixhawk committed
484
         <string/>
James Goppert's avatar
James Goppert committed
485
        </property>
486 487 488
        <property name="suffix">
         <string>°</string>
        </property>
James Goppert's avatar
James Goppert committed
489 490 491
       </widget>
      </item>
      <item>
492
       <widget class="QCheckBox" name="autoContinue">
James Goppert's avatar
James Goppert committed
493
        <property name="toolTip">
494
         <string>Automatically continue after this waypoint</string>
James Goppert's avatar
James Goppert committed
495 496 497
        </property>
        <property name="text">
         <string/>
pixhawk's avatar
pixhawk committed
498 499 500 501 502 503 504 505 506 507 508
        </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
509 510 511
        <property name="toolTip">
         <string>Move Up</string>
        </property>
pixhawk's avatar
pixhawk committed
512 513 514 515
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
516
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
517 518 519 520 521 522 523 524 525 526 527 528
          <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
529 530 531
        <property name="toolTip">
         <string>Move Down</string>
        </property>
pixhawk's avatar
pixhawk committed
532 533 534 535
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
536
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
537 538 539 540 541 542 543 544 545 546 547 548
          <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
549 550 551
        <property name="toolTip">
         <string>Delete</string>
        </property>
pixhawk's avatar
pixhawk committed
552 553 554 555
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
556
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
557 558 559 560 561 562 563 564 565
          <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
566 567 568
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
pixhawk's avatar
pixhawk committed
569 570
 <connections/>
</ui>