OP-1900 have path_progress updated correctly for leg_remaining and error_below end...
[librepilot.git] / ground / openpilotgcs / src / plugins / opmap / opmap_widget.ui
blobece39e353a24215b9aba2031cfb3eb96eef8df38
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>OPMap_Widget</class>
4 <widget class="QWidget" name="OPMap_Widget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>514</width>
10 <height>412</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="mouseTracking">
20 <bool>false</bool>
21 </property>
22 <property name="windowTitle">
23 <string>Form</string>
24 </property>
25 <property name="styleSheet">
26 <string notr="true"/>
27 </property>
28 <layout class="QVBoxLayout" name="verticalLayout_5">
29 <property name="spacing">
30 <number>0</number>
31 </property>
32 <property name="margin">
33 <number>0</number>
34 </property>
35 <item>
36 <widget class="QFrame" name="frameTopBar">
37 <property name="sizePolicy">
38 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
39 <horstretch>0</horstretch>
40 <verstretch>0</verstretch>
41 </sizepolicy>
42 </property>
43 <property name="minimumSize">
44 <size>
45 <width>0</width>
46 <height>32</height>
47 </size>
48 </property>
49 <property name="maximumSize">
50 <size>
51 <width>16777215</width>
52 <height>40</height>
53 </size>
54 </property>
55 <property name="contextMenuPolicy">
56 <enum>Qt::NoContextMenu</enum>
57 </property>
58 <property name="styleSheet">
59 <string notr="true">QFrame{
60 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
61 color: rgba(0, 0, 0, 128);
64 QLabel {
65 background-color: transparent;
66 /* background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(0, 0, 0, 80), stop:1 rgba(0, 0, 0, 80)); */
67 color: rgb(255, 255, 255);
68 /*border: 1px solid black;*/
69 border: none;
70 border-radius: 2px;
73 QToolButton { /* all types of tool button */
74 background-color: transparent;
75 color: rgb(255, 255, 255);
77 /*height: 24px;*/
79 /*border-style: none;*/
80 /* border: 1px solid rgba(0, 0, 0, 64); */
81 /* border: 0px; */
82 border-radius: 0px;
83 /*border-radius: 3px;*/
85 QToolButton:disabled {
86 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(128, 128, 128, 128), stop:1 rgba(128, 128, 128, 128));
87 color: rgba(255, 255, 255, 128);
89 /*height: 24px;*/
91 border: none;
92 border-radius: 0px;
94 border: 1px solid rgb(255, 255, 255);
95 border-radius: 0px;
96 border-top-color: rgba(0, 0, 0, 64);
97 border-right-color: rgba(0, 0, 0, 64);
98 border-bottom-color: rgba(255, 255, 255, 64);
99 border-left-color: rgba(255, 255, 255, 64);
102 QToolButton:hover {
103 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255,128), stop:1 rgba(180, 180, 180, 128));
104 color: rgb(255, 255, 255);
106 /*height: 24px;*/
108 border: 0px;
109 border-radius: 0px;
110 /*border-radius: 3px;*/
112 QToolButton:pressed {
113 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(64, 64, 64, 255));
114 color: rgb(255, 255, 255);
116 /*height: 24px;*/
118 border: none;
119 border-radius: 0px;
121 border: 1px solid rgb(255, 255, 255);
122 border-radius: 0px;
123 border-top-color: rgba(0, 0, 0, 64);
124 border-right-color: rgba(0, 0, 0, 64);
125 border-bottom-color: rgba(255, 255, 255, 64);
126 border-left-color: rgba(255, 255, 255, 64);
130 QToolButton:checked {
131 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(64, 64, 64, 255));
132 color: rgb(255, 255, 255);
134 /*height: 24px;*/
136 border: none;
137 border-radius: 0px;
139 border: 1px solid rgb(255, 255, 255);
140 border-radius: 0px;
141 border-top-color: rgba(0, 0, 0, 64);
142 border-right-color: rgba(0, 0, 0, 64);
143 border-bottom-color: rgba(255, 255, 255, 64);
144 border-left-color: rgba(255, 255, 255, 64);
148 QPushButton {
149 background-color: transparent;
150 color: rgb(255, 255, 255);
152 /*height: 24px;*/
154 /*border-style: none;*/
155 /* border: 1px solid rgba(0, 0, 0, 64); */
156 /* border: 0px; */
157 border-radius: 0px;
158 /*border-radius: 3px;*/
160 QPushButton:disabled {
161 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(128, 128, 128, 128), stop:1 rgba(128, 128, 128, 128));
162 color: rgb(255, 255, 255);
164 /*height: 24px;*/
166 border: none;
167 border-radius: 0px;
169 border: 1px solid rgb(255, 255, 255);
170 border-radius: 0px;
171 border-top-color: rgba(0, 0, 0, 64);
172 border-right-color: rgba(0, 0, 0, 64);
173 border-bottom-color: rgba(255, 255, 255, 64);
174 border-left-color: rgba(255, 255, 255, 64);
177 QPushButton:hover {
178 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255,128), stop:1 rgba(180, 180, 180, 128));
179 color: rgb(255, 255, 255);
181 /*height: 24px;*/
183 border: 0px;
184 border-radius: 0px;
185 /*border-radius: 3px;*/
187 QPushButton:pressed {
188 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(64, 64, 64, 255));
189 color: rgb(255, 255, 255);
191 /*height: 24px;*/
193 border: none;
194 border-radius: 0px;
196 border: 1px solid rgb(255, 255, 255);
197 border-radius: 0px;
198 border-top-color: rgba(0, 0, 0, 64);
199 border-right-color: rgba(0, 0, 0, 64);
200 border-bottom-color: rgba(255, 255, 255, 64);
201 border-left-color: rgba(255, 255, 255, 64);
205 QComboBox {
206 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
207 color: rgba(255, 255, 255, 255);
208 border: 1px solid rgba(0, 0, 0, 128);
209 border-radius: 0px;
211 QComboBox::down-arrow:on {
212 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
213 top: 1px; left: 1px; /* move the arrow when the popup is open */
215 QComboBox::down-arrow {
216 image: url(:/opmap/images/combobox_down_arrow.png);
218 QComboBox:drop-down {
219 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
220 border-left: 1px solid rgba(0, 0, 0, 128);
221 /* subcontrol-origin: padding;
222 subcontrol-position: top right;
223 border-top-right-radius: 1px;
224 border-bottom-right-radius: 1px; */
226 QComboBox QAbstractItemView { /* the drop down list */
227 background-color: rgb(255, 255, 255);
228 color: rgb(0, 0, 0);
229 border: 1px solid rgba(0, 0, 0, 128);
230 selection-background-color: rgb(160, 160, 255);
231 border-radius: 2px;
233 </string>
234 </property>
235 <property name="frameShape">
236 <enum>QFrame::NoFrame</enum>
237 </property>
238 <property name="frameShadow">
239 <enum>QFrame::Plain</enum>
240 </property>
241 <layout class="QHBoxLayout" name="horizontalLayout_4">
242 <property name="spacing">
243 <number>0</number>
244 </property>
245 <property name="margin">
246 <number>0</number>
247 </property>
248 <item>
249 <layout class="QHBoxLayout" name="layoutWidgetStatusBar_2">
250 <property name="spacing">
251 <number>5</number>
252 </property>
253 <property name="leftMargin">
254 <number>8</number>
255 </property>
256 <property name="topMargin">
257 <number>5</number>
258 </property>
259 <property name="rightMargin">
260 <number>8</number>
261 </property>
262 <property name="bottomMargin">
263 <number>5</number>
264 </property>
265 <item>
266 <widget class="QToolButton" name="toolButtonNormalMapMode">
267 <property name="sizePolicy">
268 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
269 <horstretch>0</horstretch>
270 <verstretch>0</verstretch>
271 </sizepolicy>
272 </property>
273 <property name="font">
274 <font>
275 <pointsize>8</pointsize>
276 </font>
277 </property>
278 <property name="toolTip">
279 <string>Normal Map Mode</string>
280 </property>
281 <property name="text">
282 <string> Normal </string>
283 </property>
284 <property name="iconSize">
285 <size>
286 <width>16</width>
287 <height>32</height>
288 </size>
289 </property>
290 <property name="checkable">
291 <bool>true</bool>
292 </property>
293 <property name="checked">
294 <bool>true</bool>
295 </property>
296 <property name="toolButtonStyle">
297 <enum>Qt::ToolButtonTextOnly</enum>
298 </property>
299 </widget>
300 </item>
301 <item>
302 <spacer name="horizontalSpacer">
303 <property name="orientation">
304 <enum>Qt::Horizontal</enum>
305 </property>
306 <property name="sizeType">
307 <enum>QSizePolicy::Fixed</enum>
308 </property>
309 <property name="sizeHint" stdset="0">
310 <size>
311 <width>10</width>
312 <height>20</height>
313 </size>
314 </property>
315 </spacer>
316 </item>
317 <item>
318 <widget class="QToolButton" name="toolButtonMagicWaypointMapMode">
319 <property name="sizePolicy">
320 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
321 <horstretch>0</horstretch>
322 <verstretch>0</verstretch>
323 </sizepolicy>
324 </property>
325 <property name="font">
326 <font>
327 <pointsize>8</pointsize>
328 </font>
329 </property>
330 <property name="toolTip">
331 <string>Magic Waypoint Map Mode</string>
332 </property>
333 <property name="text">
334 <string> Magic Waypoint </string>
335 </property>
336 <property name="iconSize">
337 <size>
338 <width>16</width>
339 <height>32</height>
340 </size>
341 </property>
342 <property name="checkable">
343 <bool>true</bool>
344 </property>
345 <property name="toolButtonStyle">
346 <enum>Qt::ToolButtonTextOnly</enum>
347 </property>
348 </widget>
349 </item>
350 <item>
351 <widget class="Line" name="line_6">
352 <property name="frameShadow">
353 <enum>QFrame::Plain</enum>
354 </property>
355 <property name="orientation">
356 <enum>Qt::Vertical</enum>
357 </property>
358 </widget>
359 </item>
360 <item>
361 <widget class="QLabel" name="label_2">
362 <property name="font">
363 <font>
364 <pointsize>8</pointsize>
365 </font>
366 </property>
367 <property name="text">
368 <string>Go To Place:</string>
369 </property>
370 </widget>
371 </item>
372 <item>
373 <widget class="QLineEdit" name="leFind"/>
374 </item>
375 <item>
376 <widget class="QToolButton" name="tbFind">
377 <property name="text">
378 <string>...</string>
379 </property>
380 <property name="icon">
381 <iconset resource="opmap.qrc">
382 <normaloff>:/opmap/images/waypoint.png</normaloff>:/opmap/images/waypoint.png</iconset>
383 </property>
384 </widget>
385 </item>
386 <item>
387 <spacer name="horizontalSpacer_4">
388 <property name="orientation">
389 <enum>Qt::Horizontal</enum>
390 </property>
391 <property name="sizeHint" stdset="0">
392 <size>
393 <width>10</width>
394 <height>20</height>
395 </size>
396 </property>
397 </spacer>
398 </item>
399 <item>
400 <widget class="QLabel" name="label">
401 <property name="font">
402 <font>
403 <pointsize>8</pointsize>
404 </font>
405 </property>
406 <property name="text">
407 <string/>
408 </property>
409 </widget>
410 </item>
411 <item>
412 <widget class="Line" name="lineWaypoint">
413 <property name="frameShadow">
414 <enum>QFrame::Plain</enum>
415 </property>
416 <property name="orientation">
417 <enum>Qt::Vertical</enum>
418 </property>
419 </widget>
420 </item>
421 <item>
422 <widget class="QToolButton" name="toolButtonMoveToWP">
423 <property name="sizePolicy">
424 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
425 <horstretch>0</horstretch>
426 <verstretch>0</verstretch>
427 </sizepolicy>
428 </property>
429 <property name="toolTip">
430 <string>Click to move the UAV to the magic waypoint position</string>
431 </property>
432 <property name="text">
433 <string>Move to WP</string>
434 </property>
435 <property name="icon">
436 <iconset resource="opmap.qrc">
437 <normaloff>:/opmap/images/move_to_wp.png</normaloff>:/opmap/images/move_to_wp.png</iconset>
438 </property>
439 <property name="iconSize">
440 <size>
441 <width>28</width>
442 <height>28</height>
443 </size>
444 </property>
445 </widget>
446 </item>
447 <item>
448 <widget class="QToolButton" name="toolButtonHomeWaypoint">
449 <property name="sizePolicy">
450 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
451 <horstretch>0</horstretch>
452 <verstretch>0</verstretch>
453 </sizepolicy>
454 </property>
455 <property name="toolTip">
456 <string>Move the magic waypoint to the home position</string>
457 </property>
458 <property name="text">
459 <string>Home WP</string>
460 </property>
461 <property name="icon">
462 <iconset resource="opmap.qrc">
463 <normaloff>:/opmap/images/home_wp.png</normaloff>:/opmap/images/home_wp.png</iconset>
464 </property>
465 <property name="iconSize">
466 <size>
467 <width>28</width>
468 <height>28</height>
469 </size>
470 </property>
471 </widget>
472 </item>
473 <item>
474 <widget class="Line" name="line_8">
475 <property name="frameShadow">
476 <enum>QFrame::Plain</enum>
477 </property>
478 <property name="orientation">
479 <enum>Qt::Vertical</enum>
480 </property>
481 </widget>
482 </item>
483 <item>
484 <widget class="QToolButton" name="toolButtonMapHome">
485 <property name="sizePolicy">
486 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
487 <horstretch>0</horstretch>
488 <verstretch>0</verstretch>
489 </sizepolicy>
490 </property>
491 <property name="toolTip">
492 <string>Center map over home position</string>
493 </property>
494 <property name="text">
495 <string>Home</string>
496 </property>
497 <property name="icon">
498 <iconset resource="opmap.qrc">
499 <normaloff>:/opmap/images/gcs.png</normaloff>:/opmap/images/gcs.png</iconset>
500 </property>
501 <property name="iconSize">
502 <size>
503 <width>28</width>
504 <height>28</height>
505 </size>
506 </property>
507 <property name="autoRepeat">
508 <bool>false</bool>
509 </property>
510 <property name="toolButtonStyle">
511 <enum>Qt::ToolButtonIconOnly</enum>
512 </property>
513 <property name="autoRaise">
514 <bool>false</bool>
515 </property>
516 </widget>
517 </item>
518 <item>
519 <widget class="QToolButton" name="toolButtonMapUAV">
520 <property name="sizePolicy">
521 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
522 <horstretch>0</horstretch>
523 <verstretch>0</verstretch>
524 </sizepolicy>
525 </property>
526 <property name="toolTip">
527 <string>Center map over UAV position</string>
528 </property>
529 <property name="text">
530 <string>UAV</string>
531 </property>
532 <property name="icon">
533 <iconset resource="opmap.qrc">
534 <normaloff>:/opmap/images/uav.png</normaloff>:/opmap/images/uav.png</iconset>
535 </property>
536 <property name="iconSize">
537 <size>
538 <width>28</width>
539 <height>28</height>
540 </size>
541 </property>
542 <property name="checkable">
543 <bool>true</bool>
544 </property>
545 <property name="autoRepeat">
546 <bool>false</bool>
547 </property>
548 <property name="toolButtonStyle">
549 <enum>Qt::ToolButtonIconOnly</enum>
550 </property>
551 <property name="autoRaise">
552 <bool>false</bool>
553 </property>
554 </widget>
555 </item>
556 <item>
557 <widget class="QToolButton" name="toolButtonMapUAVheading">
558 <property name="sizePolicy">
559 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
560 <horstretch>0</horstretch>
561 <verstretch>0</verstretch>
562 </sizepolicy>
563 </property>
564 <property name="toolTip">
565 <string>Map rotation follows UAV heading</string>
566 </property>
567 <property name="text">
568 <string>Heading</string>
569 </property>
570 <property name="icon">
571 <iconset resource="opmap.qrc">
572 <normaloff>:/opmap/images/uav_heading.png</normaloff>:/opmap/images/uav_heading.png</iconset>
573 </property>
574 <property name="iconSize">
575 <size>
576 <width>28</width>
577 <height>28</height>
578 </size>
579 </property>
580 <property name="checkable">
581 <bool>true</bool>
582 </property>
583 <property name="autoRepeat">
584 <bool>false</bool>
585 </property>
586 <property name="toolButtonStyle">
587 <enum>Qt::ToolButtonIconOnly</enum>
588 </property>
589 <property name="autoRaise">
590 <bool>false</bool>
591 </property>
592 </widget>
593 </item>
594 </layout>
595 </item>
596 </layout>
597 </widget>
598 </item>
599 <item>
600 <widget class="QSplitter" name="splitter">
601 <property name="styleSheet">
602 <string notr="true">QSplitter::handle {
603 /* image: url(images/splitter.png); */
604 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(71, 71, 71, 255), stop:0.5 rgba(200, 200, 200, 255), stop:1 rgba(110, 110, 110, 255));
606 QSplitter::handle:horizontal {
607 /* height: 5px; */
609 QSplitter::handle:vertical {
610 /* width: 5px; */
612 </string>
613 </property>
614 <property name="frameShape">
615 <enum>QFrame::NoFrame</enum>
616 </property>
617 <property name="orientation">
618 <enum>Qt::Horizontal</enum>
619 </property>
620 <property name="opaqueResize">
621 <bool>true</bool>
622 </property>
623 <property name="handleWidth">
624 <number>5</number>
625 </property>
626 <widget class="QWidget" name="layoutWidget">
627 <layout class="QHBoxLayout" name="horizontalLayout_2">
628 <property name="spacing">
629 <number>0</number>
630 </property>
631 <item>
632 <widget class="QWidget" name="mapWidget" native="true">
633 <property name="sizePolicy">
634 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
635 <horstretch>0</horstretch>
636 <verstretch>0</verstretch>
637 </sizepolicy>
638 </property>
639 <property name="minimumSize">
640 <size>
641 <width>64</width>
642 <height>64</height>
643 </size>
644 </property>
645 <property name="mouseTracking">
646 <bool>false</bool>
647 </property>
648 <property name="acceptDrops">
649 <bool>false</bool>
650 </property>
651 <property name="styleSheet">
652 <string notr="true">
653 /* background-color: black; */
654 border: 1px solid black;
656 QLabel { /* all label types */
657 /* background-color: rgba(255, 255, 255, 0); */
658 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(64, 64, 64, 255), stop:1 rgba(128, 128, 128, 255));
659 color: rgb(255, 255, 255);
662 QToolButton { /* all types of tool button */
663 background-color: rgba(255, 255, 255, 0);
664 color: rgb(255, 255, 255);
665 /*border-style: none;*/
666 border: 0px;
668 QToolButton:hover {
669 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 160, 0, 255), stop:1 rgba(160, 100, 0, 255));
670 color: rgb(255, 255, 255);
672 QToolButton:pressed {
673 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
674 color: rgb(255, 255, 255);
677 QToolButton:checked {
678 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
679 color: rgb(255, 255, 255);
682 QSlider::groove:horizontal {
683 border: none;
684 height: 4px;
685 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
686 margin: 2px 0;
688 QSlider::handle:horizontal {
689 border: 1px solid #5c5c5c;
690 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(128, 128, 128, 255));
691 width: 24px;
692 margin: -2px 0;
693 border-radius: 3px;
696 QComboBox {
697 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
698 color: rgb(255, 255, 255);
700 QComboBox:hover {
701 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
702 background-color: rgb(197, 138, 0);
704 QComboBox::down-arrow {
705 image: url(:/opmap/images/combobox_down_arrow.png);
707 QComboBox:drop-down {
708 subcontrol-origin: padding;
709 subcontrol-position: top right;
710 border-left-style: none;
711 border-top-right-radius: 1px;
712 border-bottom-right-radius: 1px;
714 </string>
715 </property>
716 </widget>
717 </item>
718 <item>
719 <widget class="QWidget" name="widget" native="true">
720 <property name="sizePolicy">
721 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
722 <horstretch>0</horstretch>
723 <verstretch>0</verstretch>
724 </sizepolicy>
725 </property>
726 <property name="styleSheet">
727 <string notr="true">QFrame {
728 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(71, 71, 71, 255), stop:1 rgba(110, 110, 110, 255));
729 color: rgb(255, 255, 255);
732 QToolButton { /* all types of tool button */
733 background-color: rgba(255, 255, 255, 0);
734 color: rgb(255, 255, 255);
735 /*border-style: none;*/
736 border: 0px;
737 border-radius: 3px;
739 QToolButton:hover {
740 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 200), stop:1 rgba(180, 180, 180, 200));
741 color: rgb(255, 255, 255);
742 border: 0px;
743 border-radius: 3px;
745 QToolButton:pressed {
746 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
747 color: rgb(255, 255, 255);
748 border: 0px;
749 border-radius: 3px;
752 QToolButton:checked {
753 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
754 color: rgb(255, 255, 255);
755 border: 0px;
756 border-radius: 3px;
759 QSlider::groove:horizontal {
760 border: none;
761 height: 4px;
762 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
763 margin: 2px 0;
765 QSlider::handle:horizontal {
766 border: 1px solid #5c5c5c;
767 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(128, 128, 128, 255));
768 width: 24px;
769 margin: -2px 0;
770 border-radius: 3px;
772 </string>
773 </property>
774 <layout class="QVBoxLayout" name="verticalLayout_3">
775 <property name="spacing">
776 <number>0</number>
777 </property>
778 <property name="margin">
779 <number>0</number>
780 </property>
781 <item>
782 <widget class="QFrame" name="frameMapControls">
783 <property name="sizePolicy">
784 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
785 <horstretch>0</horstretch>
786 <verstretch>0</verstretch>
787 </sizepolicy>
788 </property>
789 <property name="styleSheet">
790 <string notr="true">QFrame {
791 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(71, 71, 71, 255), stop:1 rgba(110, 110, 110, 255));
792 color: rgba(0, 0, 0, 48);
795 QToolButton { /* all types of tool button */
796 background-color: transparent;
797 /*background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));*/
798 color: rgb(255, 255, 255);
800 border: 1px solid black;
801 border-radius: 0px;
803 border: none;
804 border-radius: 0px;
805 /*border: 1px solid white;
806 border-radius: 3px;
807 border-top-color: rgba(255, 255, 255, 48);
808 border-right-color: rgba(255, 255, 255, 48);
809 border-bottom-color: rgba(0, 0, 0, 48);
810 border-left-color: rgba(0, 0, 0, 48);*/
812 QToolButton:hover {
813 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 200), stop:1 rgba(180, 180, 180, 200));
814 color: rgb(255, 255, 255);
815 border: none;
816 /*border: 1px solid white;
817 border-radius:3px;
818 border-top-color: rgba(255, 255, 255, 48);
819 border-right-color: rgba(255, 255, 255, 48);
820 border-bottom-color: rgba(0, 0, 0, 48);
821 border-left-color: rgba(0, 0, 0, 48);*/
823 QToolButton:pressed {
824 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
825 color: rgb(255, 255, 255);
826 border: 1px solid white;
827 border-radius:3px;
828 border-top-color: rgba(0, 0, 0,160);
829 border-right-color: rgba(0, 0, 0, 160);
830 border-bottom-color: rgba(255, 255, 255, 80);
831 border-left-color: rgba(255, 255, 255, 80);
834 QToolButton:checked {
835 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
836 color: rgb(255, 255, 255);
837 border: 1px solid white;
838 border-radius: 3px;
839 border-top-color: rgba(0, 0, 0,160);
840 border-right-color: rgba(0, 0, 0, 160);
841 border-bottom-color: rgba(255, 255, 255, 80);
842 border-left-color: rgba(255, 255, 255, 80);
845 QSliderl {
846 background-color: rgba(255, 255, 255, 0);
848 QSlider::groove:vertical {
849 border: none;
850 width: 4px;
851 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(80, 80, 80, 255));
852 margin: 2px 0;
854 QSlider::handle:vertical {
855 border: 1px solid #5c5c5c;
856 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(128, 128, 128, 255));
857 height: 10px;
858 margin: 0 -9px; /* expand outside the groove */
859 border-radius: 3px;
861 </string>
862 </property>
863 <property name="frameShape">
864 <enum>QFrame::NoFrame</enum>
865 </property>
866 <property name="frameShadow">
867 <enum>QFrame::Plain</enum>
868 </property>
869 <property name="lineWidth">
870 <number>2</number>
871 </property>
872 <property name="midLineWidth">
873 <number>0</number>
874 </property>
875 <layout class="QVBoxLayout" name="verticalLayout_2">
876 <property name="spacing">
877 <number>5</number>
878 </property>
879 <property name="margin">
880 <number>1</number>
881 </property>
882 <item>
883 <spacer name="verticalSpacer_3">
884 <property name="orientation">
885 <enum>Qt::Vertical</enum>
886 </property>
887 <property name="sizeType">
888 <enum>QSizePolicy::Fixed</enum>
889 </property>
890 <property name="sizeHint" stdset="0">
891 <size>
892 <width>20</width>
893 <height>10</height>
894 </size>
895 </property>
896 </spacer>
897 </item>
898 <item>
899 <widget class="QToolButton" name="toolButtonZoomP">
900 <property name="toolTip">
901 <string>Zoom in</string>
902 </property>
903 <property name="styleSheet">
904 <string notr="true"/>
905 </property>
906 <property name="text">
907 <string/>
908 </property>
909 <property name="icon">
910 <iconset resource="opmap.qrc">
911 <normaloff>:/opmap/images/plus.png</normaloff>:/opmap/images/plus.png</iconset>
912 </property>
913 <property name="iconSize">
914 <size>
915 <width>28</width>
916 <height>28</height>
917 </size>
918 </property>
919 <property name="autoRepeat">
920 <bool>true</bool>
921 </property>
922 <property name="autoRepeatDelay">
923 <number>1000</number>
924 </property>
925 <property name="autoRepeatInterval">
926 <number>1000</number>
927 </property>
928 <property name="autoRaise">
929 <bool>false</bool>
930 </property>
931 </widget>
932 </item>
933 <item>
934 <widget class="QSlider" name="horizontalSliderZoom">
935 <property name="sizePolicy">
936 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
937 <horstretch>0</horstretch>
938 <verstretch>0</verstretch>
939 </sizepolicy>
940 </property>
941 <property name="minimumSize">
942 <size>
943 <width>0</width>
944 <height>50</height>
945 </size>
946 </property>
947 <property name="maximumSize">
948 <size>
949 <width>16777215</width>
950 <height>200</height>
951 </size>
952 </property>
953 <property name="cursor">
954 <cursorShape>OpenHandCursor</cursorShape>
955 </property>
956 <property name="toolTip">
957 <string>Zoom level</string>
958 </property>
959 <property name="autoFillBackground">
960 <bool>false</bool>
961 </property>
962 <property name="styleSheet">
963 <string notr="true"/>
964 </property>
965 <property name="minimum">
966 <number>2</number>
967 </property>
968 <property name="maximum">
969 <number>17</number>
970 </property>
971 <property name="pageStep">
972 <number>1</number>
973 </property>
974 <property name="orientation">
975 <enum>Qt::Vertical</enum>
976 </property>
977 <property name="invertedControls">
978 <bool>false</bool>
979 </property>
980 <property name="tickPosition">
981 <enum>QSlider::NoTicks</enum>
982 </property>
983 <property name="tickInterval">
984 <number>2</number>
985 </property>
986 </widget>
987 </item>
988 <item>
989 <widget class="QToolButton" name="toolButtonZoomM">
990 <property name="toolTip">
991 <string>Zoom out</string>
992 </property>
993 <property name="styleSheet">
994 <string notr="true"/>
995 </property>
996 <property name="text">
997 <string/>
998 </property>
999 <property name="icon">
1000 <iconset resource="opmap.qrc">
1001 <normaloff>:/opmap/images/minus.png</normaloff>:/opmap/images/minus.png</iconset>
1002 </property>
1003 <property name="iconSize">
1004 <size>
1005 <width>28</width>
1006 <height>28</height>
1007 </size>
1008 </property>
1009 <property name="autoRepeat">
1010 <bool>true</bool>
1011 </property>
1012 <property name="autoRepeatDelay">
1013 <number>1000</number>
1014 </property>
1015 <property name="autoRepeatInterval">
1016 <number>1000</number>
1017 </property>
1018 <property name="autoRaise">
1019 <bool>false</bool>
1020 </property>
1021 </widget>
1022 </item>
1023 <item>
1024 <spacer name="verticalSpacer_2">
1025 <property name="orientation">
1026 <enum>Qt::Vertical</enum>
1027 </property>
1028 <property name="sizeType">
1029 <enum>QSizePolicy::Expanding</enum>
1030 </property>
1031 <property name="sizeHint" stdset="0">
1032 <size>
1033 <width>20</width>
1034 <height>10</height>
1035 </size>
1036 </property>
1037 </spacer>
1038 </item>
1039 </layout>
1040 </widget>
1041 </item>
1042 </layout>
1043 </widget>
1044 </item>
1045 </layout>
1046 </widget>
1047 </widget>
1048 </item>
1049 <item>
1050 <widget class="QFrame" name="frameStatusBar">
1051 <property name="sizePolicy">
1052 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
1053 <horstretch>0</horstretch>
1054 <verstretch>0</verstretch>
1055 </sizepolicy>
1056 </property>
1057 <property name="minimumSize">
1058 <size>
1059 <width>0</width>
1060 <height>0</height>
1061 </size>
1062 </property>
1063 <property name="maximumSize">
1064 <size>
1065 <width>16777215</width>
1066 <height>25</height>
1067 </size>
1068 </property>
1069 <property name="contextMenuPolicy">
1070 <enum>Qt::NoContextMenu</enum>
1071 </property>
1072 <property name="styleSheet">
1073 <string notr="true">QFrame{
1074 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(110, 110, 110, 255), stop:1 rgba(71, 71, 71, 255));
1075 color: rgba(0, 0, 0, 128);
1078 QLabel {
1079 background-color: transparent;
1080 /* background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(0, 0, 0, 80), stop:1 rgba(0, 0, 0, 80)); */
1081 color: rgb(255, 255, 255);
1082 /*border: 1px solid black;*/
1083 border: none;
1084 border-radius: 2px;
1086 </string>
1087 </property>
1088 <property name="frameShape">
1089 <enum>QFrame::NoFrame</enum>
1090 </property>
1091 <property name="frameShadow">
1092 <enum>QFrame::Plain</enum>
1093 </property>
1094 <layout class="QHBoxLayout" name="horizontalLayout">
1095 <property name="spacing">
1096 <number>0</number>
1097 </property>
1098 <property name="leftMargin">
1099 <number>0</number>
1100 </property>
1101 <property name="topMargin">
1102 <number>3</number>
1103 </property>
1104 <property name="rightMargin">
1105 <number>0</number>
1106 </property>
1107 <property name="bottomMargin">
1108 <number>3</number>
1109 </property>
1110 <item>
1111 <layout class="QHBoxLayout" name="layoutWidgetStatusBar">
1112 <property name="spacing">
1113 <number>5</number>
1114 </property>
1115 <property name="leftMargin">
1116 <number>3</number>
1117 </property>
1118 <property name="rightMargin">
1119 <number>8</number>
1120 </property>
1121 <item>
1122 <spacer name="horizontalSpacer_7">
1123 <property name="orientation">
1124 <enum>Qt::Horizontal</enum>
1125 </property>
1126 <property name="sizeType">
1127 <enum>QSizePolicy::Fixed</enum>
1128 </property>
1129 <property name="sizeHint" stdset="0">
1130 <size>
1131 <width>10</width>
1132 <height>20</height>
1133 </size>
1134 </property>
1135 </spacer>
1136 </item>
1137 <item>
1138 <widget class="QLabel" name="labelUAVPos">
1139 <property name="sizePolicy">
1140 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1141 <horstretch>0</horstretch>
1142 <verstretch>0</verstretch>
1143 </sizepolicy>
1144 </property>
1145 <property name="font">
1146 <font>
1147 <pointsize>8</pointsize>
1148 <weight>50</weight>
1149 <italic>false</italic>
1150 <bold>false</bold>
1151 <kerning>true</kerning>
1152 </font>
1153 </property>
1154 <property name="toolTip">
1155 <string>UAV position</string>
1156 </property>
1157 <property name="styleSheet">
1158 <string notr="true"/>
1159 </property>
1160 <property name="frameShape">
1161 <enum>QFrame::NoFrame</enum>
1162 </property>
1163 <property name="frameShadow">
1164 <enum>QFrame::Plain</enum>
1165 </property>
1166 <property name="text">
1167 <string>labelUAVPos</string>
1168 </property>
1169 <property name="alignment">
1170 <set>Qt::AlignCenter</set>
1171 </property>
1172 <property name="margin">
1173 <number>0</number>
1174 </property>
1175 </widget>
1176 </item>
1177 <item>
1178 <widget class="Line" name="line_3">
1179 <property name="frameShadow">
1180 <enum>QFrame::Plain</enum>
1181 </property>
1182 <property name="lineWidth">
1183 <number>1</number>
1184 </property>
1185 <property name="orientation">
1186 <enum>Qt::Vertical</enum>
1187 </property>
1188 </widget>
1189 </item>
1190 <item>
1191 <widget class="QLabel" name="labelMapPos">
1192 <property name="sizePolicy">
1193 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1194 <horstretch>0</horstretch>
1195 <verstretch>0</verstretch>
1196 </sizepolicy>
1197 </property>
1198 <property name="font">
1199 <font>
1200 <pointsize>8</pointsize>
1201 <weight>50</weight>
1202 <italic>false</italic>
1203 <bold>false</bold>
1204 <kerning>true</kerning>
1205 </font>
1206 </property>
1207 <property name="toolTip">
1208 <string>Map position</string>
1209 </property>
1210 <property name="styleSheet">
1211 <string notr="true"/>
1212 </property>
1213 <property name="frameShape">
1214 <enum>QFrame::NoFrame</enum>
1215 </property>
1216 <property name="text">
1217 <string>labelMapPos</string>
1218 </property>
1219 <property name="alignment">
1220 <set>Qt::AlignCenter</set>
1221 </property>
1222 <property name="margin">
1223 <number>0</number>
1224 </property>
1225 </widget>
1226 </item>
1227 <item>
1228 <widget class="Line" name="line_4">
1229 <property name="frameShadow">
1230 <enum>QFrame::Plain</enum>
1231 </property>
1232 <property name="orientation">
1233 <enum>Qt::Vertical</enum>
1234 </property>
1235 </widget>
1236 </item>
1237 <item>
1238 <widget class="QLabel" name="labelMousePos">
1239 <property name="sizePolicy">
1240 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1241 <horstretch>0</horstretch>
1242 <verstretch>0</verstretch>
1243 </sizepolicy>
1244 </property>
1245 <property name="font">
1246 <font>
1247 <pointsize>8</pointsize>
1248 <weight>50</weight>
1249 <italic>false</italic>
1250 <bold>false</bold>
1251 <kerning>true</kerning>
1252 </font>
1253 </property>
1254 <property name="toolTip">
1255 <string>Mouse position</string>
1256 </property>
1257 <property name="styleSheet">
1258 <string notr="true"/>
1259 </property>
1260 <property name="frameShape">
1261 <enum>QFrame::NoFrame</enum>
1262 </property>
1263 <property name="frameShadow">
1264 <enum>QFrame::Plain</enum>
1265 </property>
1266 <property name="text">
1267 <string>labelMousePos</string>
1268 </property>
1269 <property name="scaledContents">
1270 <bool>false</bool>
1271 </property>
1272 <property name="alignment">
1273 <set>Qt::AlignCenter</set>
1274 </property>
1275 <property name="margin">
1276 <number>0</number>
1277 </property>
1278 </widget>
1279 </item>
1280 <item>
1281 <widget class="Line" name="line">
1282 <property name="frameShadow">
1283 <enum>QFrame::Plain</enum>
1284 </property>
1285 <property name="orientation">
1286 <enum>Qt::Vertical</enum>
1287 </property>
1288 </widget>
1289 </item>
1290 <item>
1291 <widget class="QLabel" name="labelMapZoom">
1292 <property name="font">
1293 <font>
1294 <pointsize>8</pointsize>
1295 </font>
1296 </property>
1297 <property name="text">
1298 <string>labelMapZoom</string>
1299 </property>
1300 </widget>
1301 </item>
1302 <item>
1303 <widget class="Line" name="line_2">
1304 <property name="frameShadow">
1305 <enum>QFrame::Plain</enum>
1306 </property>
1307 <property name="orientation">
1308 <enum>Qt::Vertical</enum>
1309 </property>
1310 </widget>
1311 </item>
1312 <item>
1313 <spacer name="horizontalSpacer_3">
1314 <property name="orientation">
1315 <enum>Qt::Horizontal</enum>
1316 </property>
1317 <property name="sizeHint" stdset="0">
1318 <size>
1319 <width>40</width>
1320 <height>20</height>
1321 </size>
1322 </property>
1323 </spacer>
1324 </item>
1325 <item>
1326 <widget class="QProgressBar" name="progressBarMap">
1327 <property name="sizePolicy">
1328 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
1329 <horstretch>0</horstretch>
1330 <verstretch>0</verstretch>
1331 </sizepolicy>
1332 </property>
1333 <property name="minimumSize">
1334 <size>
1335 <width>40</width>
1336 <height>0</height>
1337 </size>
1338 </property>
1339 <property name="maximumSize">
1340 <size>
1341 <width>100</width>
1342 <height>16777215</height>
1343 </size>
1344 </property>
1345 <property name="autoFillBackground">
1346 <bool>false</bool>
1347 </property>
1348 <property name="styleSheet">
1349 <string notr="true">QProgressBar {
1350 border: none;
1351 border-radius: 5px;
1352 padding: 3px;
1353 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(48, 48, 48, 255), stop:1 rgba(120, 120, 120, 255));
1354 color: rgb(255, 255, 255);
1356 QProgressBar::chunk {
1357 background-color: rgb(85, 85, 255);
1358 background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(160, 160, 255, 255), stop:1 rgba(80, 80, 160, 255));
1359 border: none;
1360 border-radius: 3px;
1361 }</string>
1362 </property>
1363 <property name="value">
1364 <number>50</number>
1365 </property>
1366 <property name="alignment">
1367 <set>Qt::AlignCenter</set>
1368 </property>
1369 <property name="textVisible">
1370 <bool>true</bool>
1371 </property>
1372 <property name="invertedAppearance">
1373 <bool>false</bool>
1374 </property>
1375 <property name="format">
1376 <string>%v</string>
1377 </property>
1378 </widget>
1379 </item>
1380 </layout>
1381 </item>
1382 </layout>
1383 </widget>
1384 </item>
1385 </layout>
1386 </widget>
1387 <resources>
1388 <include location="opmap.qrc"/>
1389 </resources>
1390 <connections/>
1391 </ui>