Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / config / configsparky2hwwidget.ui
blobfc902ab895450e6256794b785b7d6672d63ad439
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>Sparky2HWWidget</class>
4 <widget class="QWidget" name="Sparky2HWWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>834</width>
10 <height>742</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QTabWidget" name="tabWidget">
19 <property name="currentIndex">
20 <number>0</number>
21 </property>
22 <widget class="QWidget" name="tab">
23 <property name="autoFillBackground">
24 <bool>true</bool>
25 </property>
26 <attribute name="title">
27 <string>HW settings</string>
28 </attribute>
29 <layout class="QVBoxLayout" name="verticalLayout_3">
30 <property name="leftMargin">
31 <number>0</number>
32 </property>
33 <property name="topMargin">
34 <number>0</number>
35 </property>
36 <property name="rightMargin">
37 <number>0</number>
38 </property>
39 <property name="bottomMargin">
40 <number>0</number>
41 </property>
42 <item>
43 <widget class="QScrollArea" name="scrollArea">
44 <property name="palette">
45 <palette>
46 <active>
47 <colorrole role="Base">
48 <brush brushstyle="SolidPattern">
49 <color alpha="255">
50 <red>255</red>
51 <green>255</green>
52 <blue>255</blue>
53 </color>
54 </brush>
55 </colorrole>
56 <colorrole role="Window">
57 <brush brushstyle="SolidPattern">
58 <color alpha="0">
59 <red>232</red>
60 <green>232</green>
61 <blue>232</blue>
62 </color>
63 </brush>
64 </colorrole>
65 </active>
66 <inactive>
67 <colorrole role="Base">
68 <brush brushstyle="SolidPattern">
69 <color alpha="255">
70 <red>255</red>
71 <green>255</green>
72 <blue>255</blue>
73 </color>
74 </brush>
75 </colorrole>
76 <colorrole role="Window">
77 <brush brushstyle="SolidPattern">
78 <color alpha="0">
79 <red>232</red>
80 <green>232</green>
81 <blue>232</blue>
82 </color>
83 </brush>
84 </colorrole>
85 </inactive>
86 <disabled>
87 <colorrole role="Base">
88 <brush brushstyle="SolidPattern">
89 <color alpha="0">
90 <red>232</red>
91 <green>232</green>
92 <blue>232</blue>
93 </color>
94 </brush>
95 </colorrole>
96 <colorrole role="Window">
97 <brush brushstyle="SolidPattern">
98 <color alpha="0">
99 <red>232</red>
100 <green>232</green>
101 <blue>232</blue>
102 </color>
103 </brush>
104 </colorrole>
105 </disabled>
106 </palette>
107 </property>
108 <property name="styleSheet">
109 <string notr="true">border-color: rgb(255, 0, 0);</string>
110 </property>
111 <property name="frameShape">
112 <enum>QFrame::NoFrame</enum>
113 </property>
114 <property name="frameShadow">
115 <enum>QFrame::Plain</enum>
116 </property>
117 <property name="widgetResizable">
118 <bool>true</bool>
119 </property>
120 <widget class="QWidget" name="scrollAreaWidgetContents">
121 <property name="geometry">
122 <rect>
123 <x>0</x>
124 <y>-184</y>
125 <width>798</width>
126 <height>838</height>
127 </rect>
128 </property>
129 <layout class="QGridLayout" name="gridLayout_3">
130 <property name="leftMargin">
131 <number>12</number>
132 </property>
133 <property name="topMargin">
134 <number>12</number>
135 </property>
136 <property name="rightMargin">
137 <number>12</number>
138 </property>
139 <property name="bottomMargin">
140 <number>12</number>
141 </property>
142 <item row="3" column="2">
143 <spacer name="verticalSpacer">
144 <property name="orientation">
145 <enum>Qt::Vertical</enum>
146 </property>
147 <property name="sizeHint" stdset="0">
148 <size>
149 <width>20</width>
150 <height>40</height>
151 </size>
152 </property>
153 </spacer>
154 </item>
155 <item row="2" column="0">
156 <spacer name="horizontalSpacer_4">
157 <property name="orientation">
158 <enum>Qt::Horizontal</enum>
159 </property>
160 <property name="sizeHint" stdset="0">
161 <size>
162 <width>40</width>
163 <height>20</height>
164 </size>
165 </property>
166 </spacer>
167 </item>
168 <item row="2" column="3">
169 <spacer name="horizontalSpacer_5">
170 <property name="orientation">
171 <enum>Qt::Horizontal</enum>
172 </property>
173 <property name="sizeHint" stdset="0">
174 <size>
175 <width>40</width>
176 <height>20</height>
177 </size>
178 </property>
179 </spacer>
180 </item>
181 <item row="0" column="2">
182 <widget class="QLabel" name="label_6">
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="maximumSize">
196 <size>
197 <width>16777215</width>
198 <height>16777215</height>
199 </size>
200 </property>
201 <property name="font">
202 <font>
203 <weight>75</weight>
204 <bold>true</bold>
205 </font>
206 </property>
207 <property name="text">
208 <string>Changes on this page only take effect after board reset or power cycle</string>
209 </property>
210 <property name="alignment">
211 <set>Qt::AlignCenter</set>
212 </property>
213 <property name="wordWrap">
214 <bool>true</bool>
215 </property>
216 </widget>
217 </item>
218 <item row="1" column="2">
219 <spacer name="verticalSpacer_2">
220 <property name="orientation">
221 <enum>Qt::Vertical</enum>
222 </property>
223 <property name="sizeType">
224 <enum>QSizePolicy::Fixed</enum>
225 </property>
226 <property name="sizeHint" stdset="0">
227 <size>
228 <width>20</width>
229 <height>10</height>
230 </size>
231 </property>
232 </spacer>
233 </item>
234 <item row="2" column="2">
235 <layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0">
236 <item row="3" column="1">
237 <layout class="QVBoxLayout" name="verticalLayout_2">
238 <item>
239 <widget class="QComboBox" name="cbFlexiTelemSpeed"/>
240 </item>
241 <item>
242 <widget class="QComboBox" name="cbFlexiGPSSpeed"/>
243 </item>
244 </layout>
245 </item>
246 <item row="0" column="2" alignment="Qt::AlignHCenter">
247 <widget class="QLabel" name="label_">
248 <property name="text">
249 <string>Radio Aux Stream</string>
250 </property>
251 <property name="alignment">
252 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
253 </property>
254 </widget>
255 </item>
256 <item row="8" column="0">
257 <layout class="QHBoxLayout" name="horizontalLayout_4">
258 <item>
259 <layout class="QVBoxLayout" name="verticalLayout_4">
260 <property name="spacing">
261 <number>0</number>
262 </property>
263 <item alignment="Qt::AlignHCenter">
264 <widget class="QLabel" name="lblMainSpeed">
265 <property name="sizePolicy">
266 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
267 <horstretch>0</horstretch>
268 <verstretch>0</verstretch>
269 </sizepolicy>
270 </property>
271 <property name="text">
272 <string>Speed</string>
273 </property>
274 <property name="alignment">
275 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
276 </property>
277 </widget>
278 </item>
279 <item>
280 <widget class="QComboBox" name="cbMainTelemSpeed"/>
281 </item>
282 <item>
283 <widget class="QComboBox" name="cbMainGPSSpeed"/>
284 </item>
285 </layout>
286 </item>
287 </layout>
288 </item>
289 <item row="10" column="0">
290 <widget class="QComboBox" name="cbMainGPSProtocol"/>
291 </item>
292 <item row="0" column="3" colspan="2">
293 <widget class="QLabel" name="label">
294 <property name="text">
295 <string>Receiver Port</string>
296 </property>
297 <property name="alignment">
298 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
299 </property>
300 </widget>
301 </item>
302 <item row="19" column="1">
303 <spacer name="horizontalSpacer_7">
304 <property name="orientation">
305 <enum>Qt::Horizontal</enum>
306 </property>
307 <property name="sizeType">
308 <enum>QSizePolicy::Minimum</enum>
309 </property>
310 <property name="sizeHint" stdset="0">
311 <size>
312 <width>120</width>
313 <height>10</height>
314 </size>
315 </property>
316 </spacer>
317 </item>
318 <item row="19" column="2">
319 <spacer name="horizontalSpacer_10">
320 <property name="orientation">
321 <enum>Qt::Horizontal</enum>
322 </property>
323 <property name="sizeHint" stdset="0">
324 <size>
325 <width>80</width>
326 <height>10</height>
327 </size>
328 </property>
329 </spacer>
330 </item>
331 <item row="0" column="1">
332 <widget class="QLabel" name="label_9">
333 <property name="text">
334 <string>Flexi Port</string>
335 </property>
336 <property name="alignment">
337 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
338 </property>
339 </widget>
340 </item>
341 <item row="14" column="0" alignment="Qt::AlignHCenter">
342 <widget class="QLabel" name="label_8">
343 <property name="sizePolicy">
344 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
345 <horstretch>0</horstretch>
346 <verstretch>0</verstretch>
347 </sizepolicy>
348 </property>
349 <property name="text">
350 <string>USB VCP Function</string>
351 </property>
352 <property name="alignment">
353 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
354 </property>
355 </widget>
356 </item>
357 <item row="17" column="0">
358 <spacer name="horizontalSpacer_3">
359 <property name="orientation">
360 <enum>Qt::Horizontal</enum>
361 </property>
362 <property name="sizeType">
363 <enum>QSizePolicy::Minimum</enum>
364 </property>
365 <property name="sizeHint" stdset="0">
366 <size>
367 <width>120</width>
368 <height>10</height>
369 </size>
370 </property>
371 </spacer>
372 </item>
373 <item row="6" column="0">
374 <widget class="QLabel" name="label_5">
375 <property name="text">
376 <string>Main Port</string>
377 </property>
378 <property name="alignment">
379 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
380 </property>
381 </widget>
382 </item>
383 <item row="5" column="1">
384 <widget class="QComboBox" name="cbFlexiGPSProtocol"/>
385 </item>
386 <item row="7" column="0">
387 <widget class="QComboBox" name="cbMain"/>
388 </item>
389 <item row="13" column="0">
390 <widget class="QComboBox" name="cbUSBHIDFunction"/>
391 </item>
392 <item row="1" column="1">
393 <widget class="QComboBox" name="cbFlexi"/>
394 </item>
395 <item row="17" column="3" alignment="Qt::AlignHCenter">
396 <widget class="QLabel" name="label_3">
397 <property name="text">
398 <string>I2C (under)</string>
399 </property>
400 <property name="alignment">
401 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
402 </property>
403 </widget>
404 </item>
405 <item row="6" column="1" rowspan="11" colspan="4">
406 <widget class="QSvgWidget" name="boardImg" native="true">
407 <property name="sizePolicy">
408 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
409 <horstretch>0</horstretch>
410 <verstretch>0</verstretch>
411 </sizepolicy>
412 </property>
413 <property name="maximumSize">
414 <size>
415 <width>160000</width>
416 <height>160000</height>
417 </size>
418 </property>
419 </widget>
420 </item>
421 <item row="9" column="0">
422 <widget class="QLabel" name="lbMainGPSProtocol">
423 <property name="text">
424 <string>Protocol</string>
425 </property>
426 <property name="alignment">
427 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
428 </property>
429 </widget>
430 </item>
431 <item row="15" column="0">
432 <widget class="QComboBox" name="cbUSBVCPFunction"/>
433 </item>
434 <item row="18" column="3">
435 <widget class="QComboBox" name="cbI2C"/>
436 </item>
437 <item row="4" column="1">
438 <widget class="QLabel" name="lbFlexiGPSProtocol">
439 <property name="text">
440 <string>Protocol</string>
441 </property>
442 <property name="alignment">
443 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
444 </property>
445 </widget>
446 </item>
447 <item row="1" column="2">
448 <widget class="QComboBox" name="cbRadioAux"/>
449 </item>
450 <item row="2" column="1">
451 <widget class="QLabel" name="lblFlexiSpeed">
452 <property name="text">
453 <string>Speed</string>
454 </property>
455 <property name="alignment">
456 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
457 </property>
458 </widget>
459 </item>
460 <item row="12" column="0" alignment="Qt::AlignHCenter">
461 <widget class="QLabel" name="label_4">
462 <property name="sizePolicy">
463 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
464 <horstretch>0</horstretch>
465 <verstretch>0</verstretch>
466 </sizepolicy>
467 </property>
468 <property name="text">
469 <string>USB HID Function</string>
470 </property>
471 <property name="alignment">
472 <set>Qt::AlignBottom|Qt::AlignHCenter</set>
473 </property>
474 </widget>
475 </item>
476 <item row="18" column="4">
477 <spacer name="horizontalSpacer_2">
478 <property name="orientation">
479 <enum>Qt::Horizontal</enum>
480 </property>
481 <property name="sizeType">
482 <enum>QSizePolicy::MinimumExpanding</enum>
483 </property>
484 <property name="sizeHint" stdset="0">
485 <size>
486 <width>0</width>
487 <height>20</height>
488 </size>
489 </property>
490 </spacer>
491 </item>
492 <item row="19" column="3" colspan="2">
493 <spacer name="horizontalSpacer_9">
494 <property name="orientation">
495 <enum>Qt::Horizontal</enum>
496 </property>
497 <property name="sizeType">
498 <enum>QSizePolicy::Minimum</enum>
499 </property>
500 <property name="sizeHint" stdset="0">
501 <size>
502 <width>120</width>
503 <height>10</height>
504 </size>
505 </property>
506 </spacer>
507 </item>
508 <item row="1" column="3" colspan="2">
509 <widget class="QComboBox" name="cbRcvr"/>
510 </item>
511 <item row="11" column="0">
512 <spacer name="verticalSpacer_3">
513 <property name="orientation">
514 <enum>Qt::Vertical</enum>
515 </property>
516 <property name="sizeHint" stdset="0">
517 <size>
518 <width>20</width>
519 <height>0</height>
520 </size>
521 </property>
522 </spacer>
523 </item>
524 <item row="16" column="0">
525 <spacer name="verticalSpacer_4">
526 <property name="orientation">
527 <enum>Qt::Vertical</enum>
528 </property>
529 <property name="sizeType">
530 <enum>QSizePolicy::Fixed</enum>
531 </property>
532 <property name="sizeHint" stdset="0">
533 <size>
534 <width>20</width>
535 <height>100</height>
536 </size>
537 </property>
538 </spacer>
539 </item>
540 </layout>
541 </item>
542 </layout>
543 </widget>
544 </widget>
545 </item>
546 </layout>
547 </widget>
548 </widget>
549 </item>
550 <item>
551 <layout class="QHBoxLayout" name="horizontalLayout_2">
552 <property name="spacing">
553 <number>4</number>
554 </property>
555 <item>
556 <spacer name="horizontalSpacer">
557 <property name="orientation">
558 <enum>Qt::Horizontal</enum>
559 </property>
560 <property name="sizeHint" stdset="0">
561 <size>
562 <width>369</width>
563 <height>20</height>
564 </size>
565 </property>
566 </spacer>
567 </item>
568 <item>
569 <widget class="QPushButton" name="helpButton">
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>25</width>
579 <height>25</height>
580 </size>
581 </property>
582 <property name="maximumSize">
583 <size>
584 <width>25</width>
585 <height>25</height>
586 </size>
587 </property>
588 <property name="toolTip">
589 <string>Takes you to the wiki page</string>
590 </property>
591 <property name="text">
592 <string/>
593 </property>
594 <property name="icon">
595 <iconset resource="../coreplugin/core.qrc">
596 <normaloff>:/core/images/helpicon.svg</normaloff>:/core/images/helpicon.svg</iconset>
597 </property>
598 <property name="iconSize">
599 <size>
600 <width>25</width>
601 <height>25</height>
602 </size>
603 </property>
604 <property name="flat">
605 <bool>true</bool>
606 </property>
607 <property name="objrelation" stdset="0">
608 <string notr="true">button:help</string>
609 </property>
610 </widget>
611 </item>
612 <item>
613 <widget class="QPushButton" name="applyButton">
614 <property name="minimumSize">
615 <size>
616 <width>0</width>
617 <height>0</height>
618 </size>
619 </property>
620 <property name="maximumSize">
621 <size>
622 <width>16777215</width>
623 <height>16777215</height>
624 </size>
625 </property>
626 <property name="palette">
627 <palette>
628 <active>
629 <colorrole role="Base">
630 <brush brushstyle="SolidPattern">
631 <color alpha="0">
632 <red>255</red>
633 <green>255</green>
634 <blue>255</blue>
635 </color>
636 </brush>
637 </colorrole>
638 <colorrole role="Window">
639 <brush brushstyle="SolidPattern">
640 <color alpha="255">
641 <red>232</red>
642 <green>232</green>
643 <blue>232</blue>
644 </color>
645 </brush>
646 </colorrole>
647 </active>
648 <inactive>
649 <colorrole role="Base">
650 <brush brushstyle="SolidPattern">
651 <color alpha="0">
652 <red>255</red>
653 <green>255</green>
654 <blue>255</blue>
655 </color>
656 </brush>
657 </colorrole>
658 <colorrole role="Window">
659 <brush brushstyle="SolidPattern">
660 <color alpha="255">
661 <red>232</red>
662 <green>232</green>
663 <blue>232</blue>
664 </color>
665 </brush>
666 </colorrole>
667 </inactive>
668 <disabled>
669 <colorrole role="Base">
670 <brush brushstyle="SolidPattern">
671 <color alpha="255">
672 <red>232</red>
673 <green>232</green>
674 <blue>232</blue>
675 </color>
676 </brush>
677 </colorrole>
678 <colorrole role="Window">
679 <brush brushstyle="SolidPattern">
680 <color alpha="255">
681 <red>232</red>
682 <green>232</green>
683 <blue>232</blue>
684 </color>
685 </brush>
686 </colorrole>
687 </disabled>
688 </palette>
689 </property>
690 <property name="toolTip">
691 <string>Send to board but don't write in SD.
692 Beware of not locking yourself out!</string>
693 </property>
694 <property name="autoFillBackground">
695 <bool>false</bool>
696 </property>
697 <property name="styleSheet">
698 <string notr="true"/>
699 </property>
700 <property name="text">
701 <string>Apply</string>
702 </property>
703 <property name="iconSize">
704 <size>
705 <width>16</width>
706 <height>16</height>
707 </size>
708 </property>
709 <property name="checkable">
710 <bool>false</bool>
711 </property>
712 <property name="objrelation" stdset="0">
713 <string notr="true">button:apply</string>
714 </property>
715 </widget>
716 </item>
717 <item>
718 <widget class="QPushButton" name="saveButton">
719 <property name="minimumSize">
720 <size>
721 <width>0</width>
722 <height>0</height>
723 </size>
724 </property>
725 <property name="maximumSize">
726 <size>
727 <width>16777215</width>
728 <height>16777215</height>
729 </size>
730 </property>
731 <property name="toolTip">
732 <string>Applies and Saves all settings to SD.
733 Beware of not locking yourself out!</string>
734 </property>
735 <property name="autoFillBackground">
736 <bool>false</bool>
737 </property>
738 <property name="styleSheet">
739 <string notr="true"/>
740 </property>
741 <property name="text">
742 <string>Save</string>
743 </property>
744 <property name="objrelation" stdset="0">
745 <string notr="true">button:save</string>
746 </property>
747 </widget>
748 </item>
749 </layout>
750 </item>
751 </layout>
752 </widget>
753 <customwidgets>
754 <customwidget>
755 <class>QSvgWidget</class>
756 <extends>QWidget</extends>
757 <header>qsvgwidget.h</header>
758 </customwidget>
759 </customwidgets>
760 <resources>
761 <include location="../coreplugin/core.qrc"/>
762 <include location="configgadget.qrc"/>
763 </resources>
764 <connections/>
765 </ui>