WaypointView.ui 15.9 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="wrapping">
         <bool>false</bool>
        </property>
240 241 242
        <property name="prefix">
         <string>N </string>
        </property>
pixhawk's avatar
pixhawk committed
243
        <property name="suffix">
pixhawk's avatar
pixhawk committed
244
         <string> m</string>
pixhawk's avatar
pixhawk committed
245
        </property>
pixhawk's avatar
pixhawk committed
246
        <property name="minimum">
247
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
248 249
        </property>
        <property name="maximum">
250
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
251
        </property>
pixhawk's avatar
pixhawk committed
252 253 254
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
255 256 257
       </widget>
      </item>
      <item>
258 259 260 261 262 263 264
       <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
265 266 267
        <property name="toolTip">
         <string>Position Y coordinate</string>
        </property>
268 269 270
        <property name="prefix">
         <string>E </string>
        </property>
pixhawk's avatar
pixhawk committed
271
        <property name="suffix">
pixhawk's avatar
pixhawk committed
272
         <string> m</string>
pixhawk's avatar
pixhawk committed
273
        </property>
pixhawk's avatar
pixhawk committed
274
        <property name="minimum">
275
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
276 277
        </property>
        <property name="maximum">
278
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
279
        </property>
pixhawk's avatar
pixhawk committed
280 281 282
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
283 284 285 286 287 288
        <property name="value">
         <double>0.000000000000000</double>
        </property>
       </widget>
      </item>
      <item>
289 290 291 292 293 294 295
       <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
296
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
297
         <string>Position Z coordinate (negative)</string>
pixhawk's avatar
pixhawk committed
298
        </property>
299 300 301
        <property name="prefix">
         <string>D </string>
        </property>
pixhawk's avatar
pixhawk committed
302
        <property name="suffix">
pixhawk's avatar
pixhawk committed
303
         <string> m</string>
pixhawk's avatar
pixhawk committed
304
        </property>
pixhawk's avatar
pixhawk committed
305
        <property name="minimum">
306
         <double>-10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
307 308
        </property>
        <property name="maximum">
309
         <double>10000.000000000000000</double>
pixhawk's avatar
pixhawk committed
310 311 312
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
pixhawk's avatar
pixhawk committed
313 314 315
        </property>
       </widget>
      </item>
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338
      <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>
339 340 341
        <property name="singleStep">
         <double>0.000010000000000</double>
        </property>
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
       </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>
367 368 369
        <property name="singleStep">
         <double>0.000010000000000</double>
        </property>
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
       </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">
387
         <number>2</number>
388 389 390 391 392 393 394 395 396
        </property>
        <property name="minimum">
         <double>-100000.000000000000000</double>
        </property>
        <property name="maximum">
         <double>100000.000000000000000</double>
        </property>
       </widget>
      </item>
pixhawk's avatar
pixhawk committed
397
      <item>
pixhawk's avatar
pixhawk committed
398
       <widget class="QSpinBox" name="yawSpinBox">
399 400 401 402 403 404
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
405 406 407 408 409 410 411 412
        <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
413
        </property>
pixhawk's avatar
pixhawk committed
414 415 416
        <property name="minimum">
         <number>-180</number>
        </property>
pixhawk's avatar
pixhawk committed
417
        <property name="maximum">
pixhawk's avatar
pixhawk committed
418
         <number>180</number>
pixhawk's avatar
pixhawk committed
419
        </property>
pixhawk's avatar
pixhawk committed
420 421 422 423 424 425 426
        <property name="singleStep">
         <number>10</number>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="orbitSpinBox">
427 428 429 430 431 432
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
433 434 435 436 437 438 439 440 441 442
        <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">
443
         <double>100.000000000000000</double>
pixhawk's avatar
pixhawk committed
444 445 446 447
        </property>
        <property name="singleStep">
         <double>0.050000000000000</double>
        </property>
448 449 450
        <property name="value">
         <double>20.000000000000000</double>
        </property>
pixhawk's avatar
pixhawk committed
451 452 453 454
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="holdTimeSpinBox">
455 456 457 458 459 460
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
pixhawk's avatar
pixhawk committed
461
        <property name="toolTip">
pixhawk's avatar
pixhawk committed
462 463
         <string>Time in milliseconds that the MAV has to stay inside the orbit before advancing</string>
        </property>
pixhawk's avatar
pixhawk committed
464 465 466
        <property name="statusTip">
         <string/>
        </property>
pixhawk's avatar
pixhawk committed
467 468 469 470 471 472 473 474 475 476
        <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
477
         <number>0</number>
pixhawk's avatar
pixhawk committed
478
        </property>
pixhawk's avatar
pixhawk committed
479 480 481
       </widget>
      </item>
      <item>
482 483 484 485 486 487 488
       <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
489
        <property name="toolTip">
490
         <string>Take off angle</string>
pixhawk's avatar
pixhawk committed
491
        </property>
492
        <property name="prefix">
pixhawk's avatar
pixhawk committed
493
         <string/>
James Goppert's avatar
James Goppert committed
494
        </property>
495 496 497
        <property name="suffix">
         <string>°</string>
        </property>
James Goppert's avatar
James Goppert committed
498 499 500
       </widget>
      </item>
      <item>
501
       <widget class="QCheckBox" name="autoContinue">
James Goppert's avatar
James Goppert committed
502
        <property name="toolTip">
503
         <string>Automatically continue after this waypoint</string>
James Goppert's avatar
James Goppert committed
504 505 506
        </property>
        <property name="text">
         <string/>
pixhawk's avatar
pixhawk committed
507 508 509 510 511 512 513 514 515 516 517
        </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
518 519 520
        <property name="toolTip">
         <string>Move Up</string>
        </property>
pixhawk's avatar
pixhawk committed
521 522 523 524
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
525
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
526 527 528 529 530 531 532 533 534 535 536 537
          <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
538 539 540
        <property name="toolTip">
         <string>Move Down</string>
        </property>
pixhawk's avatar
pixhawk committed
541 542 543 544
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
545
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
546 547 548 549 550 551 552 553 554 555 556 557
          <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
558 559 560
        <property name="toolTip">
         <string>Delete</string>
        </property>
pixhawk's avatar
pixhawk committed
561 562 563 564
        <property name="text">
         <string/>
        </property>
        <property name="icon">
pixhawk's avatar
pixhawk committed
565
         <iconset resource="../../mavground.qrc">
pixhawk's avatar
pixhawk committed
566 567 568 569 570 571 572 573 574
          <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
575 576 577
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
pixhawk's avatar
pixhawk committed
578 579
 <connections/>
</ui>