LP-572 Add buttons to the right: Save, clear trail, PathPlan editor, Home set
[librepilot.git] / ground / gcs / src / plugins / opmap / opmapgadgetoptionspage.ui
blobb2f3f1cd04ebc4a6a58525b5249d1e5e62136164
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>OPMapGadgetOptionsPage</class>
4 <widget class="QWidget" name="OPMapGadgetOptionsPage">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>564</width>
10 <height>391</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="minimumSize">
20 <size>
21 <width>445</width>
22 <height>5</height>
23 </size>
24 </property>
25 <property name="windowTitle">
26 <string>Form</string>
27 </property>
28 <layout class="QVBoxLayout" name="verticalLayout">
29 <property name="leftMargin">
30 <number>0</number>
31 </property>
32 <property name="topMargin">
33 <number>0</number>
34 </property>
35 <property name="rightMargin">
36 <number>0</number>
37 </property>
38 <property name="bottomMargin">
39 <number>0</number>
40 </property>
41 <item>
42 <widget class="QScrollArea" name="scrollArea">
43 <property name="frameShape">
44 <enum>QFrame::NoFrame</enum>
45 </property>
46 <property name="frameShadow">
47 <enum>QFrame::Plain</enum>
48 </property>
49 <property name="widgetResizable">
50 <bool>true</bool>
51 </property>
52 <widget class="QWidget" name="scrollAreaWidgetContents">
53 <property name="geometry">
54 <rect>
55 <x>0</x>
56 <y>0</y>
57 <width>550</width>
58 <height>422</height>
59 </rect>
60 </property>
61 <property name="sizePolicy">
62 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
63 <horstretch>0</horstretch>
64 <verstretch>0</verstretch>
65 </sizepolicy>
66 </property>
67 <layout class="QGridLayout" name="gridLayout">
68 <property name="leftMargin">
69 <number>0</number>
70 </property>
71 <property name="topMargin">
72 <number>0</number>
73 </property>
74 <property name="rightMargin">
75 <number>0</number>
76 </property>
77 <property name="bottomMargin">
78 <number>0</number>
79 </property>
80 <item row="2" column="0">
81 <widget class="QLabel" name="label_12">
82 <property name="text">
83 <string>Waypoint Options</string>
84 </property>
85 <property name="alignment">
86 <set>Qt::AlignCenter</set>
87 </property>
88 </widget>
89 </item>
90 <item row="0" column="0" colspan="2">
91 <layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0,0,0,0,0,0" rowminimumheight="22,22,22,0,22,0,0">
92 <item row="1" column="2">
93 <widget class="QLabel" name="label_3">
94 <property name="text">
95 <string>Default latitude </string>
96 </property>
97 <property name="alignment">
98 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
99 </property>
100 </widget>
101 </item>
102 <item row="2" column="0">
103 <spacer name="horizontalSpacer_4">
104 <property name="orientation">
105 <enum>Qt::Horizontal</enum>
106 </property>
107 <property name="sizeHint" stdset="0">
108 <size>
109 <width>40</width>
110 <height>20</height>
111 </size>
112 </property>
113 </spacer>
114 </item>
115 <item row="4" column="2">
116 <widget class="QCheckBox" name="checkBoxUseOpenGL">
117 <property name="enabled">
118 <bool>true</bool>
119 </property>
120 <property name="sizePolicy">
121 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
122 <horstretch>0</horstretch>
123 <verstretch>0</verstretch>
124 </sizepolicy>
125 </property>
126 <property name="minimumSize">
127 <size>
128 <width>0</width>
129 <height>0</height>
130 </size>
131 </property>
132 <property name="layoutDirection">
133 <enum>Qt::RightToLeft</enum>
134 </property>
135 <property name="text">
136 <string>Use OpenGL</string>
137 </property>
138 </widget>
139 </item>
140 <item row="4" column="3">
141 <widget class="QCheckBox" name="checkBoxShowTileGridLines">
142 <property name="enabled">
143 <bool>true</bool>
144 </property>
145 <property name="sizePolicy">
146 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
147 <horstretch>0</horstretch>
148 <verstretch>0</verstretch>
149 </sizepolicy>
150 </property>
151 <property name="minimumSize">
152 <size>
153 <width>161</width>
154 <height>0</height>
155 </size>
156 </property>
157 <property name="mouseTracking">
158 <bool>true</bool>
159 </property>
160 <property name="layoutDirection">
161 <enum>Qt::RightToLeft</enum>
162 </property>
163 <property name="text">
164 <string>Show Tile Grid Lines</string>
165 </property>
166 </widget>
167 </item>
168 <item row="0" column="3">
169 <widget class="QLabel" name="label_2">
170 <property name="text">
171 <string>Default zoom </string>
172 </property>
173 <property name="alignment">
174 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
175 </property>
176 </widget>
177 </item>
178 <item row="5" column="3">
179 <widget class="QComboBox" name="maxUpdateRateComboBox"/>
180 </item>
181 <item row="0" column="2">
182 <widget class="QComboBox" name="providerComboBox">
183 <property name="sizePolicy">
184 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
185 <horstretch>0</horstretch>
186 <verstretch>0</verstretch>
187 </sizepolicy>
188 </property>
189 <property name="minimumSize">
190 <size>
191 <width>0</width>
192 <height>0</height>
193 </size>
194 </property>
195 <property name="cursor">
196 <cursorShape>OpenHandCursor</cursorShape>
197 </property>
198 <property name="maxVisibleItems">
199 <number>15</number>
200 </property>
201 <property name="frame">
202 <bool>true</bool>
203 </property>
204 </widget>
205 </item>
206 <item row="2" column="2">
207 <widget class="QLabel" name="label_4">
208 <property name="text">
209 <string>Default longitude </string>
210 </property>
211 <property name="alignment">
212 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
213 </property>
214 </widget>
215 </item>
216 <item row="2" column="3">
217 <widget class="QDoubleSpinBox" name="longitudeSpinBox">
218 <property name="sizePolicy">
219 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
220 <horstretch>0</horstretch>
221 <verstretch>0</verstretch>
222 </sizepolicy>
223 </property>
224 <property name="minimumSize">
225 <size>
226 <width>120</width>
227 <height>0</height>
228 </size>
229 </property>
230 <property name="frame">
231 <bool>true</bool>
232 </property>
233 <property name="decimals">
234 <number>8</number>
235 </property>
236 <property name="minimum">
237 <double>-180.000000000000000</double>
238 </property>
239 <property name="maximum">
240 <double>180.000000000000000</double>
241 </property>
242 </widget>
243 </item>
244 <item row="0" column="4">
245 <widget class="QSpinBox" name="zoomSpinBox">
246 <property name="sizePolicy">
247 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
248 <horstretch>0</horstretch>
249 <verstretch>0</verstretch>
250 </sizepolicy>
251 </property>
252 <property name="minimumSize">
253 <size>
254 <width>0</width>
255 <height>0</height>
256 </size>
257 </property>
258 <property name="maximumSize">
259 <size>
260 <width>50</width>
261 <height>16777215</height>
262 </size>
263 </property>
264 <property name="frame">
265 <bool>true</bool>
266 </property>
267 <property name="minimum">
268 <number>2</number>
269 </property>
270 <property name="maximum">
271 <number>18</number>
272 </property>
273 </widget>
274 </item>
275 <item row="0" column="0">
276 <widget class="QLabel" name="label">
277 <property name="text">
278 <string>Map type </string>
279 </property>
280 <property name="alignment">
281 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
282 </property>
283 </widget>
284 </item>
285 <item row="1" column="3">
286 <widget class="QDoubleSpinBox" name="latitudeSpinBox">
287 <property name="sizePolicy">
288 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
289 <horstretch>0</horstretch>
290 <verstretch>0</verstretch>
291 </sizepolicy>
292 </property>
293 <property name="minimumSize">
294 <size>
295 <width>120</width>
296 <height>0</height>
297 </size>
298 </property>
299 <property name="frame">
300 <bool>true</bool>
301 </property>
302 <property name="decimals">
303 <number>8</number>
304 </property>
305 <property name="minimum">
306 <double>-90.000000000000000</double>
307 </property>
308 <property name="maximum">
309 <double>90.000000000000000</double>
310 </property>
311 </widget>
312 </item>
313 <item row="5" column="2">
314 <widget class="QLabel" name="label_9">
315 <property name="text">
316 <string>Default Max Update Rate </string>
317 </property>
318 <property name="alignment">
319 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
320 </property>
321 </widget>
322 </item>
323 <item row="6" column="3">
324 <widget class="QComboBox" name="safeAreaRadiusComboBox"/>
325 </item>
326 <item row="6" column="2">
327 <widget class="QLabel" name="label_13">
328 <property name="text">
329 <string>Default Safe Area Radius </string>
330 </property>
331 <property name="alignment">
332 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
333 </property>
334 </widget>
335 </item>
336 <item row="6" column="0">
337 <widget class="QCheckBox" name="checkBoxShowSafeArea">
338 <property name="enabled">
339 <bool>true</bool>
340 </property>
341 <property name="sizePolicy">
342 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
343 <horstretch>0</horstretch>
344 <verstretch>0</verstretch>
345 </sizepolicy>
346 </property>
347 <property name="minimumSize">
348 <size>
349 <width>0</width>
350 <height>0</height>
351 </size>
352 </property>
353 <property name="layoutDirection">
354 <enum>Qt::RightToLeft</enum>
355 </property>
356 <property name="text">
357 <string>Show Safe Area</string>
358 </property>
359 </widget>
360 </item>
361 </layout>
362 </item>
363 <item row="3" column="0">
364 <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="0,0,0,0,0,0">
365 <item>
366 <widget class="QLabel" name="label_10">
367 <property name="sizePolicy">
368 <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
369 <horstretch>0</horstretch>
370 <verstretch>0</verstretch>
371 </sizepolicy>
372 </property>
373 <property name="text">
374 <string>Default relative Altitude</string>
375 </property>
376 </widget>
377 </item>
378 <item>
379 <widget class="QDoubleSpinBox" name="defaultWaypointAltitude">
380 <property name="decimals">
381 <number>1</number>
382 </property>
383 <property name="minimum">
384 <double>-1000.000000000000000</double>
385 </property>
386 <property name="maximum">
387 <double>1000.000000000000000</double>
388 </property>
389 </widget>
390 </item>
391 <item>
392 <spacer name="horizontalSpacer_3">
393 <property name="orientation">
394 <enum>Qt::Horizontal</enum>
395 </property>
396 <property name="sizeHint" stdset="0">
397 <size>
398 <width>40</width>
399 <height>20</height>
400 </size>
401 </property>
402 </spacer>
403 </item>
404 <item>
405 <widget class="QLabel" name="label_11">
406 <property name="sizePolicy">
407 <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
408 <horstretch>0</horstretch>
409 <verstretch>0</verstretch>
410 </sizepolicy>
411 </property>
412 <property name="text">
413 <string>Default Velocity</string>
414 </property>
415 </widget>
416 </item>
417 <item>
418 <widget class="QDoubleSpinBox" name="defaultWaypointVelocity">
419 <property name="decimals">
420 <number>1</number>
421 </property>
422 <property name="maximum">
423 <double>50.000000000000000</double>
424 </property>
425 </widget>
426 </item>
427 <item>
428 <spacer name="horizontalSpacer_2">
429 <property name="orientation">
430 <enum>Qt::Horizontal</enum>
431 </property>
432 <property name="sizeHint" stdset="0">
433 <size>
434 <width>40</width>
435 <height>20</height>
436 </size>
437 </property>
438 </spacer>
439 </item>
440 </layout>
441 </item>
442 <item row="9" column="0" colspan="2">
443 <layout class="QHBoxLayout" name="horizontalLayout_2">
444 <item>
445 <widget class="QLabel" name="label_8">
446 <property name="sizePolicy">
447 <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
448 <horstretch>0</horstretch>
449 <verstretch>0</verstretch>
450 </sizepolicy>
451 </property>
452 <property name="text">
453 <string>UAV Symbol</string>
454 </property>
455 </widget>
456 </item>
457 <item>
458 <widget class="QComboBox" name="uavSymbolComboBox">
459 <property name="sizePolicy">
460 <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
461 <horstretch>0</horstretch>
462 <verstretch>0</verstretch>
463 </sizepolicy>
464 </property>
465 </widget>
466 </item>
467 <item>
468 <spacer name="horizontalSpacer">
469 <property name="orientation">
470 <enum>Qt::Horizontal</enum>
471 </property>
472 <property name="sizeHint" stdset="0">
473 <size>
474 <width>40</width>
475 <height>20</height>
476 </size>
477 </property>
478 </spacer>
479 </item>
480 </layout>
481 </item>
482 <item row="7" column="0" colspan="2">
483 <layout class="QHBoxLayout" name="horizontalLayout">
484 <item>
485 <widget class="QLabel" name="label_6">
486 <property name="text">
487 <string>Access mode </string>
488 </property>
489 <property name="alignment">
490 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
491 </property>
492 </widget>
493 </item>
494 <item>
495 <widget class="QComboBox" name="accessModeComboBox">
496 <property name="sizePolicy">
497 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
498 <horstretch>0</horstretch>
499 <verstretch>0</verstretch>
500 </sizepolicy>
501 </property>
502 <property name="minimumSize">
503 <size>
504 <width>160</width>
505 <height>0</height>
506 </size>
507 </property>
508 <property name="cursor">
509 <cursorShape>OpenHandCursor</cursorShape>
510 </property>
511 <property name="frame">
512 <bool>true</bool>
513 </property>
514 </widget>
515 </item>
516 <item>
517 <widget class="QCheckBox" name="checkBoxUseMemoryCache">
518 <property name="enabled">
519 <bool>true</bool>
520 </property>
521 <property name="sizePolicy">
522 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
523 <horstretch>0</horstretch>
524 <verstretch>0</verstretch>
525 </sizepolicy>
526 </property>
527 <property name="minimumSize">
528 <size>
529 <width>0</width>
530 <height>0</height>
531 </size>
532 </property>
533 <property name="layoutDirection">
534 <enum>Qt::RightToLeft</enum>
535 </property>
536 <property name="text">
537 <string>Use Memory Cache</string>
538 </property>
539 </widget>
540 </item>
541 </layout>
542 </item>
543 <item row="8" column="0" colspan="2">
544 <layout class="QHBoxLayout" name="horizontalLayout_3">
545 <item>
546 <widget class="QLabel" name="label_5">
547 <property name="sizePolicy">
548 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
549 <horstretch>0</horstretch>
550 <verstretch>0</verstretch>
551 </sizepolicy>
552 </property>
553 <property name="text">
554 <string>Cache location </string>
555 </property>
556 </widget>
557 </item>
558 <item>
559 <widget class="Utils::PathChooser" name="lineEditCacheLocation" native="true">
560 <property name="sizePolicy">
561 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
562 <horstretch>0</horstretch>
563 <verstretch>0</verstretch>
564 </sizepolicy>
565 </property>
566 </widget>
567 </item>
568 <item>
569 <widget class="QPushButton" name="pushButtonCacheDefaults">
570 <property name="sizePolicy">
571 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
572 <horstretch>0</horstretch>
573 <verstretch>0</verstretch>
574 </sizepolicy>
575 </property>
576 <property name="minimumSize">
577 <size>
578 <width>0</width>
579 <height>0</height>
580 </size>
581 </property>
582 <property name="cursor">
583 <cursorShape>OpenHandCursor</cursorShape>
584 </property>
585 <property name="toolTip">
586 <string>Restore default server and cache settings</string>
587 </property>
588 <property name="text">
589 <string> Default </string>
590 </property>
591 <property name="checkable">
592 <bool>false</bool>
593 </property>
594 <property name="checked">
595 <bool>false</bool>
596 </property>
597 <property name="flat">
598 <bool>false</bool>
599 </property>
600 </widget>
601 </item>
602 </layout>
603 </item>
604 <item row="5" column="0" colspan="2">
605 <widget class="QLabel" name="label_7">
606 <property name="text">
607 <string>Server and Cache</string>
608 </property>
609 <property name="alignment">
610 <set>Qt::AlignCenter</set>
611 </property>
612 </widget>
613 </item>
614 <item row="10" column="0">
615 <spacer name="verticalSpacer">
616 <property name="orientation">
617 <enum>Qt::Vertical</enum>
618 </property>
619 <property name="sizeType">
620 <enum>QSizePolicy::Preferred</enum>
621 </property>
622 <property name="sizeHint" stdset="0">
623 <size>
624 <width>20</width>
625 <height>40</height>
626 </size>
627 </property>
628 </spacer>
629 </item>
630 <item row="1" column="0" colspan="2">
631 <widget class="Line" name="line">
632 <property name="orientation">
633 <enum>Qt::Horizontal</enum>
634 </property>
635 </widget>
636 </item>
637 <item row="4" column="0">
638 <widget class="Line" name="line_2">
639 <property name="orientation">
640 <enum>Qt::Horizontal</enum>
641 </property>
642 </widget>
643 </item>
644 </layout>
645 </widget>
646 </widget>
647 </item>
648 </layout>
649 </widget>
650 <customwidgets>
651 <customwidget>
652 <class>Utils::PathChooser</class>
653 <extends>QWidget</extends>
654 <header>utils/pathchooser.h</header>
655 <container>1</container>
656 </customwidget>
657 </customwidgets>
658 <resources/>
659 <connections/>
660 </ui>