OP-1900 have path_progress updated correctly for leg_remaining and error_below end...
[librepilot.git] / ground / openpilotgcs / src / plugins / dial / dialgadgetoptionspage.ui
blobe327e5a6398efbfa041057e3126177c78c42b837
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>DialGadgetOptionsPage</class>
4 <widget class="QWidget" name="DialGadgetOptionsPage">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>561</width>
10 <height>392</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="windowTitle">
20 <string>Form</string>
21 </property>
22 <layout class="QVBoxLayout" name="verticalLayout_2">
23 <property name="margin">
24 <number>0</number>
25 </property>
26 <item>
27 <widget class="QScrollArea" name="scrollArea">
28 <property name="frameShape">
29 <enum>QFrame::NoFrame</enum>
30 </property>
31 <property name="frameShadow">
32 <enum>QFrame::Plain</enum>
33 </property>
34 <property name="widgetResizable">
35 <bool>true</bool>
36 </property>
37 <widget class="QWidget" name="scrollAreaWidgetContents">
38 <property name="geometry">
39 <rect>
40 <x>0</x>
41 <y>0</y>
42 <width>561</width>
43 <height>392</height>
44 </rect>
45 </property>
46 <layout class="QVBoxLayout" name="verticalLayout">
47 <property name="margin">
48 <number>0</number>
49 </property>
50 <item>
51 <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0">
52 <property name="spacing">
53 <number>6</number>
54 </property>
55 <property name="sizeConstraint">
56 <enum>QLayout::SetMaximumSize</enum>
57 </property>
58 <property name="bottomMargin">
59 <number>0</number>
60 </property>
61 <item>
62 <widget class="QLabel" name="label">
63 <property name="sizePolicy">
64 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
65 <horstretch>0</horstretch>
66 <verstretch>0</verstretch>
67 </sizepolicy>
68 </property>
69 <property name="text">
70 <string>Dial SVG: </string>
71 </property>
72 </widget>
73 </item>
74 <item>
75 <widget class="Utils::PathChooser" name="svgSourceFile" native="true">
76 <property name="sizePolicy">
77 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
78 <horstretch>0</horstretch>
79 <verstretch>0</verstretch>
80 </sizepolicy>
81 </property>
82 </widget>
83 </item>
84 </layout>
85 </item>
86 <item>
87 <layout class="QHBoxLayout" name="horizontalLayout_13">
88 <property name="bottomMargin">
89 <number>0</number>
90 </property>
91 <item>
92 <widget class="QLabel" name="label_28">
93 <property name="sizePolicy">
94 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
95 <horstretch>0</horstretch>
96 <verstretch>0</verstretch>
97 </sizepolicy>
98 </property>
99 <property name="text">
100 <string>Dial font:</string>
101 </property>
102 </widget>
103 </item>
104 <item>
105 <widget class="QPushButton" name="fontPicker">
106 <property name="text">
107 <string>Select...</string>
108 </property>
109 </widget>
110 </item>
111 <item>
112 <spacer name="horizontalSpacer_4">
113 <property name="orientation">
114 <enum>Qt::Horizontal</enum>
115 </property>
116 <property name="sizeHint" stdset="0">
117 <size>
118 <width>40</width>
119 <height>20</height>
120 </size>
121 </property>
122 </spacer>
123 </item>
124 </layout>
125 </item>
126 <item>
127 <layout class="QHBoxLayout" name="horizontalLayout_2">
128 <item>
129 <widget class="QLabel" name="label_2">
130 <property name="text">
131 <string>BackgroundID</string>
132 </property>
133 </widget>
134 </item>
135 <item>
136 <widget class="QLineEdit" name="backgroundID">
137 <property name="toolTip">
138 <string>XML ID of the SVG source file used to display the dial background.</string>
139 </property>
140 </widget>
141 </item>
142 <item>
143 <widget class="QLabel" name="label_3">
144 <property name="text">
145 <string>ForegroundID</string>
146 </property>
147 </widget>
148 </item>
149 <item>
150 <widget class="QLineEdit" name="foregroundID">
151 <property name="toolTip">
152 <string>XML ID of the SVG source file used to display the dial foreground (above everything else, needles included).</string>
153 </property>
154 </widget>
155 </item>
156 </layout>
157 </item>
158 <item>
159 <widget class="QTabWidget" name="tabWidget">
160 <property name="sizePolicy">
161 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
162 <horstretch>0</horstretch>
163 <verstretch>0</verstretch>
164 </sizepolicy>
165 </property>
166 <property name="currentIndex">
167 <number>0</number>
168 </property>
169 <widget class="QWidget" name="tab">
170 <attribute name="title">
171 <string>Indicator 1</string>
172 </attribute>
173 <layout class="QVBoxLayout" name="verticalLayout_3">
174 <item>
175 <layout class="QHBoxLayout" name="horizontalLayout_5">
176 <item>
177 <widget class="QLabel" name="label_12">
178 <property name="text">
179 <string>Movement:</string>
180 </property>
181 </widget>
182 </item>
183 <item>
184 <widget class="QComboBox" name="moveNeedle1"/>
185 </item>
186 <item>
187 <widget class="QLabel" name="label_5">
188 <property name="text">
189 <string>ID:</string>
190 </property>
191 </widget>
192 </item>
193 <item>
194 <widget class="QLineEdit" name="needle1ID">
195 <property name="sizePolicy">
196 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
197 <horstretch>0</horstretch>
198 <verstretch>0</verstretch>
199 </sizepolicy>
200 </property>
201 <property name="minimumSize">
202 <size>
203 <width>50</width>
204 <height>0</height>
205 </size>
206 </property>
207 <property name="maximumSize">
208 <size>
209 <width>16777215</width>
210 <height>16777215</height>
211 </size>
212 </property>
213 <property name="toolTip">
214 <string>XML ID of the SVG source file used to display the first needle/indicator.</string>
215 </property>
216 </widget>
217 </item>
218 <item>
219 <spacer name="horizontalSpacer">
220 <property name="orientation">
221 <enum>Qt::Horizontal</enum>
222 </property>
223 <property name="sizeHint" stdset="0">
224 <size>
225 <width>40</width>
226 <height>20</height>
227 </size>
228 </property>
229 </spacer>
230 </item>
231 </layout>
232 </item>
233 <item>
234 <layout class="QHBoxLayout" name="horizontalLayout_3">
235 <property name="topMargin">
236 <number>0</number>
237 </property>
238 <item>
239 <widget class="QLabel" name="label_6">
240 <property name="text">
241 <string>Min:</string>
242 </property>
243 </widget>
244 </item>
245 <item>
246 <widget class="QDoubleSpinBox" name="needle1Min">
247 <property name="sizePolicy">
248 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
249 <horstretch>0</horstretch>
250 <verstretch>0</verstretch>
251 </sizepolicy>
252 </property>
253 <property name="decimals">
254 <number>3</number>
255 </property>
256 <property name="minimum">
257 <double>-100000.000000000000000</double>
258 </property>
259 <property name="maximum">
260 <double>100000.000000000000000</double>
261 </property>
262 </widget>
263 </item>
264 <item>
265 <widget class="QLabel" name="label_7">
266 <property name="text">
267 <string>Max:</string>
268 </property>
269 </widget>
270 </item>
271 <item>
272 <widget class="QDoubleSpinBox" name="needle1Max">
273 <property name="sizePolicy">
274 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
275 <horstretch>0</horstretch>
276 <verstretch>0</verstretch>
277 </sizepolicy>
278 </property>
279 <property name="decimals">
280 <number>3</number>
281 </property>
282 <property name="minimum">
283 <double>-100000.000000000000000</double>
284 </property>
285 <property name="maximum">
286 <double>100000.000000000000000</double>
287 </property>
288 </widget>
289 </item>
290 <item>
291 <widget class="QLabel" name="label_10">
292 <property name="text">
293 <string>Factor:</string>
294 </property>
295 </widget>
296 </item>
297 <item>
298 <widget class="QDoubleSpinBox" name="factor1">
299 <property name="sizePolicy">
300 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
301 <horstretch>0</horstretch>
302 <verstretch>0</verstretch>
303 </sizepolicy>
304 </property>
305 <property name="decimals">
306 <number>5</number>
307 </property>
308 <property name="minimum">
309 <double>-100000.000000000000000</double>
310 </property>
311 <property name="maximum">
312 <double>100000.000000000000000</double>
313 </property>
314 </widget>
315 </item>
316 </layout>
317 </item>
318 <item>
319 <layout class="QHBoxLayout" name="horizontalLayout_4">
320 <property name="topMargin">
321 <number>0</number>
322 </property>
323 <item>
324 <widget class="QLabel" name="label_8">
325 <property name="text">
326 <string>DataObject</string>
327 </property>
328 </widget>
329 </item>
330 <item>
331 <widget class="QComboBox" name="uavObject1">
332 <property name="sizePolicy">
333 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
334 <horstretch>0</horstretch>
335 <verstretch>0</verstretch>
336 </sizepolicy>
337 </property>
338 </widget>
339 </item>
340 <item>
341 <widget class="QLabel" name="label_9">
342 <property name="text">
343 <string>ObjectField</string>
344 </property>
345 </widget>
346 </item>
347 <item>
348 <widget class="QComboBox" name="objectField1">
349 <property name="sizePolicy">
350 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
351 <horstretch>0</horstretch>
352 <verstretch>0</verstretch>
353 </sizepolicy>
354 </property>
355 </widget>
356 </item>
357 </layout>
358 </item>
359 </layout>
360 </widget>
361 <widget class="QWidget" name="tab_2">
362 <attribute name="title">
363 <string>Indicator 2</string>
364 </attribute>
365 <layout class="QVBoxLayout" name="verticalLayout_6">
366 <item>
367 <layout class="QHBoxLayout" name="horizontalLayout_6">
368 <item>
369 <widget class="QLabel" name="label_13">
370 <property name="text">
371 <string>Movement:</string>
372 </property>
373 </widget>
374 </item>
375 <item>
376 <widget class="QComboBox" name="moveNeedle2"/>
377 </item>
378 <item>
379 <widget class="QLabel" name="label_17">
380 <property name="text">
381 <string>ID:</string>
382 </property>
383 </widget>
384 </item>
385 <item>
386 <widget class="QLineEdit" name="needle2ID">
387 <property name="sizePolicy">
388 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
389 <horstretch>0</horstretch>
390 <verstretch>0</verstretch>
391 </sizepolicy>
392 </property>
393 </widget>
394 </item>
395 <item>
396 <spacer name="horizontalSpacer_2">
397 <property name="orientation">
398 <enum>Qt::Horizontal</enum>
399 </property>
400 <property name="sizeHint" stdset="0">
401 <size>
402 <width>40</width>
403 <height>20</height>
404 </size>
405 </property>
406 </spacer>
407 </item>
408 </layout>
409 </item>
410 <item>
411 <layout class="QHBoxLayout" name="horizontalLayout_7">
412 <property name="topMargin">
413 <number>0</number>
414 </property>
415 <item>
416 <widget class="QLabel" name="label_18">
417 <property name="text">
418 <string>Min:</string>
419 </property>
420 </widget>
421 </item>
422 <item>
423 <widget class="QDoubleSpinBox" name="needle2Min">
424 <property name="sizePolicy">
425 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
426 <horstretch>0</horstretch>
427 <verstretch>0</verstretch>
428 </sizepolicy>
429 </property>
430 <property name="decimals">
431 <number>3</number>
432 </property>
433 <property name="minimum">
434 <double>-10000.000000000000000</double>
435 </property>
436 <property name="maximum">
437 <double>100000.000000000000000</double>
438 </property>
439 </widget>
440 </item>
441 <item>
442 <widget class="QLabel" name="label_19">
443 <property name="text">
444 <string>Max:</string>
445 </property>
446 </widget>
447 </item>
448 <item>
449 <widget class="QDoubleSpinBox" name="needle2Max">
450 <property name="sizePolicy">
451 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
452 <horstretch>0</horstretch>
453 <verstretch>0</verstretch>
454 </sizepolicy>
455 </property>
456 <property name="decimals">
457 <number>3</number>
458 </property>
459 <property name="minimum">
460 <double>-100000.000000000000000</double>
461 </property>
462 <property name="maximum">
463 <double>100000.000000000000000</double>
464 </property>
465 </widget>
466 </item>
467 <item>
468 <widget class="QLabel" name="label_11">
469 <property name="text">
470 <string>Factor:</string>
471 </property>
472 </widget>
473 </item>
474 <item>
475 <widget class="QDoubleSpinBox" name="factor2">
476 <property name="sizePolicy">
477 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
478 <horstretch>0</horstretch>
479 <verstretch>0</verstretch>
480 </sizepolicy>
481 </property>
482 <property name="decimals">
483 <number>5</number>
484 </property>
485 <property name="minimum">
486 <double>-100000.000000000000000</double>
487 </property>
488 <property name="maximum">
489 <double>100000.000000000000000</double>
490 </property>
491 </widget>
492 </item>
493 </layout>
494 </item>
495 <item>
496 <layout class="QHBoxLayout" name="horizontalLayout_8">
497 <property name="topMargin">
498 <number>0</number>
499 </property>
500 <item>
501 <widget class="QLabel" name="label_20">
502 <property name="text">
503 <string>DataObject</string>
504 </property>
505 </widget>
506 </item>
507 <item>
508 <widget class="QComboBox" name="uavObject2">
509 <property name="sizePolicy">
510 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
511 <horstretch>0</horstretch>
512 <verstretch>0</verstretch>
513 </sizepolicy>
514 </property>
515 </widget>
516 </item>
517 <item>
518 <widget class="QLabel" name="label_21">
519 <property name="text">
520 <string>ObjectField</string>
521 </property>
522 </widget>
523 </item>
524 <item>
525 <widget class="QComboBox" name="objectField2">
526 <property name="sizePolicy">
527 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
528 <horstretch>0</horstretch>
529 <verstretch>0</verstretch>
530 </sizepolicy>
531 </property>
532 </widget>
533 </item>
534 </layout>
535 </item>
536 </layout>
537 </widget>
538 <widget class="QWidget" name="tab_3">
539 <attribute name="title">
540 <string>Indicator 3</string>
541 </attribute>
542 <layout class="QVBoxLayout" name="verticalLayout_7">
543 <item>
544 <layout class="QHBoxLayout" name="horizontalLayout_9">
545 <item>
546 <widget class="QLabel" name="label_14">
547 <property name="text">
548 <string>Movement:</string>
549 </property>
550 </widget>
551 </item>
552 <item>
553 <widget class="QComboBox" name="moveNeedle3"/>
554 </item>
555 <item>
556 <widget class="QLabel" name="label_23">
557 <property name="text">
558 <string>ID:</string>
559 </property>
560 </widget>
561 </item>
562 <item>
563 <widget class="QLineEdit" name="needle3ID">
564 <property name="sizePolicy">
565 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
566 <horstretch>0</horstretch>
567 <verstretch>0</verstretch>
568 </sizepolicy>
569 </property>
570 </widget>
571 </item>
572 <item>
573 <spacer name="horizontalSpacer_3">
574 <property name="orientation">
575 <enum>Qt::Horizontal</enum>
576 </property>
577 <property name="sizeHint" stdset="0">
578 <size>
579 <width>40</width>
580 <height>20</height>
581 </size>
582 </property>
583 </spacer>
584 </item>
585 </layout>
586 </item>
587 <item>
588 <layout class="QHBoxLayout" name="horizontalLayout_10">
589 <property name="topMargin">
590 <number>0</number>
591 </property>
592 <item>
593 <widget class="QLabel" name="label_24">
594 <property name="text">
595 <string>Min:</string>
596 </property>
597 </widget>
598 </item>
599 <item>
600 <widget class="QDoubleSpinBox" name="needle3Min">
601 <property name="sizePolicy">
602 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
603 <horstretch>0</horstretch>
604 <verstretch>0</verstretch>
605 </sizepolicy>
606 </property>
607 <property name="decimals">
608 <number>3</number>
609 </property>
610 <property name="minimum">
611 <double>-10000.000000000000000</double>
612 </property>
613 <property name="maximum">
614 <double>100000.000000000000000</double>
615 </property>
616 </widget>
617 </item>
618 <item>
619 <widget class="QLabel" name="label_25">
620 <property name="text">
621 <string>Max:</string>
622 </property>
623 </widget>
624 </item>
625 <item>
626 <widget class="QDoubleSpinBox" name="needle3Max">
627 <property name="sizePolicy">
628 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
629 <horstretch>0</horstretch>
630 <verstretch>0</verstretch>
631 </sizepolicy>
632 </property>
633 <property name="decimals">
634 <number>3</number>
635 </property>
636 <property name="minimum">
637 <double>-100000.000000000000000</double>
638 </property>
639 <property name="maximum">
640 <double>100000.000000000000000</double>
641 </property>
642 </widget>
643 </item>
644 <item>
645 <widget class="QLabel" name="label_15">
646 <property name="text">
647 <string>Factor:</string>
648 </property>
649 </widget>
650 </item>
651 <item>
652 <widget class="QDoubleSpinBox" name="factor3">
653 <property name="sizePolicy">
654 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
655 <horstretch>0</horstretch>
656 <verstretch>0</verstretch>
657 </sizepolicy>
658 </property>
659 <property name="decimals">
660 <number>5</number>
661 </property>
662 <property name="minimum">
663 <double>-100000.000000000000000</double>
664 </property>
665 <property name="maximum">
666 <double>100000.000000000000000</double>
667 </property>
668 </widget>
669 </item>
670 </layout>
671 </item>
672 <item>
673 <layout class="QHBoxLayout" name="horizontalLayout_11">
674 <property name="topMargin">
675 <number>0</number>
676 </property>
677 <item>
678 <widget class="QLabel" name="label_26">
679 <property name="text">
680 <string>DataObject</string>
681 </property>
682 </widget>
683 </item>
684 <item>
685 <widget class="QComboBox" name="uavObject3">
686 <property name="sizePolicy">
687 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
688 <horstretch>0</horstretch>
689 <verstretch>0</verstretch>
690 </sizepolicy>
691 </property>
692 </widget>
693 </item>
694 <item>
695 <widget class="QLabel" name="label_27">
696 <property name="text">
697 <string>ObjectField</string>
698 </property>
699 </widget>
700 </item>
701 <item>
702 <widget class="QComboBox" name="objectField3">
703 <property name="sizePolicy">
704 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
705 <horstretch>0</horstretch>
706 <verstretch>0</verstretch>
707 </sizepolicy>
708 </property>
709 </widget>
710 </item>
711 </layout>
712 </item>
713 </layout>
714 </widget>
715 </widget>
716 </item>
717 <item>
718 <layout class="QHBoxLayout" name="horizontalLayout_12">
719 <item>
720 <widget class="QCheckBox" name="useOpenGL">
721 <property name="toolTip">
722 <string>Use OpenGL for rendering. Will lower CPU usage, depending on the capabilities of your graphics card, but might slightly alter the look &amp; feel of the dial.</string>
723 </property>
724 <property name="text">
725 <string>Use OpenGL</string>
726 </property>
727 </widget>
728 </item>
729 <item>
730 <widget class="QCheckBox" name="smoothUpdates">
731 <property name="toolTip">
732 <string>When checked, the Dial plugin will make needle moves smoother by simulating inertia.</string>
733 </property>
734 <property name="text">
735 <string>Smooth updates</string>
736 </property>
737 </widget>
738 </item>
739 </layout>
740 </item>
741 <item>
742 <spacer name="verticalSpacer">
743 <property name="orientation">
744 <enum>Qt::Vertical</enum>
745 </property>
746 <property name="sizeHint" stdset="0">
747 <size>
748 <width>20</width>
749 <height>40</height>
750 </size>
751 </property>
752 </spacer>
753 </item>
754 </layout>
755 </widget>
756 </widget>
757 </item>
758 </layout>
759 </widget>
760 <customwidgets>
761 <customwidget>
762 <class>Utils::PathChooser</class>
763 <extends>QWidget</extends>
764 <header>utils/pathchooser.h</header>
765 <container>1</container>
766 </customwidget>
767 </customwidgets>
768 <resources/>
769 <connections/>
770 </ui>