Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / config / configtinyfishhwwidget.ui
blob680677900236abaf1ab4e38046852b99333b1511
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>TinyFISHHWWidget</class>
4 <widget class="QWidget" name="TinyFISHHWWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>1130</width>
10 <height>738</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>0</y>
125 <width>1108</width>
126 <height>650</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="0" column="2">
143 <widget class="QLabel" name="label_6">
144 <property name="sizePolicy">
145 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
146 <horstretch>0</horstretch>
147 <verstretch>0</verstretch>
148 </sizepolicy>
149 </property>
150 <property name="minimumSize">
151 <size>
152 <width>0</width>
153 <height>0</height>
154 </size>
155 </property>
156 <property name="maximumSize">
157 <size>
158 <width>16777215</width>
159 <height>16777215</height>
160 </size>
161 </property>
162 <property name="font">
163 <font>
164 <weight>75</weight>
165 <bold>true</bold>
166 </font>
167 </property>
168 <property name="text">
169 <string>Changes on this page only take effect after board reset or power cycle</string>
170 </property>
171 <property name="alignment">
172 <set>Qt::AlignCenter</set>
173 </property>
174 <property name="wordWrap">
175 <bool>true</bool>
176 </property>
177 </widget>
178 </item>
179 <item row="2" column="0">
180 <spacer name="horizontalSpacer_4">
181 <property name="orientation">
182 <enum>Qt::Horizontal</enum>
183 </property>
184 <property name="sizeHint" stdset="0">
185 <size>
186 <width>0</width>
187 <height>20</height>
188 </size>
189 </property>
190 </spacer>
191 </item>
192 <item row="1" column="2">
193 <spacer name="verticalSpacer_2">
194 <property name="orientation">
195 <enum>Qt::Vertical</enum>
196 </property>
197 <property name="sizeType">
198 <enum>QSizePolicy::Fixed</enum>
199 </property>
200 <property name="sizeHint" stdset="0">
201 <size>
202 <width>20</width>
203 <height>10</height>
204 </size>
205 </property>
206 </spacer>
207 </item>
208 <item row="2" column="3">
209 <spacer name="horizontalSpacer_5">
210 <property name="orientation">
211 <enum>Qt::Horizontal</enum>
212 </property>
213 <property name="sizeHint" stdset="0">
214 <size>
215 <width>0</width>
216 <height>20</height>
217 </size>
218 </property>
219 </spacer>
220 </item>
221 <item row="2" column="2">
222 <layout class="QGridLayout" name="gridLayout" rowstretch="0,0">
223 <item row="0" column="4">
224 <layout class="QGridLayout" name="gridLayout_4">
225 <item row="1" column="0">
226 <widget class="QComboBox" name="cbLEDPort"/>
227 </item>
228 <item row="3" column="0">
229 <spacer name="verticalSpacer_6">
230 <property name="orientation">
231 <enum>Qt::Vertical</enum>
232 </property>
233 <property name="sizeType">
234 <enum>QSizePolicy::Fixed</enum>
235 </property>
236 <property name="sizeHint" stdset="0">
237 <size>
238 <width>20</width>
239 <height>100</height>
240 </size>
241 </property>
242 </spacer>
243 </item>
244 <item row="1" column="1">
245 <widget class="QLabel" name="lbLEDPort">
246 <property name="sizePolicy">
247 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
248 <horstretch>0</horstretch>
249 <verstretch>0</verstretch>
250 </sizepolicy>
251 </property>
252 <property name="minimumSize">
253 <size>
254 <width>80</width>
255 <height>0</height>
256 </size>
257 </property>
258 <property name="text">
259 <string>IR/LED</string>
260 </property>
261 </widget>
262 </item>
263 <item row="2" column="0">
264 <widget class="QComboBox" name="cbUART3"/>
265 </item>
266 <item row="2" column="1">
267 <widget class="QLabel" name="lbUART3">
268 <property name="sizePolicy">
269 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
270 <horstretch>0</horstretch>
271 <verstretch>0</verstretch>
272 </sizepolicy>
273 </property>
274 <property name="minimumSize">
275 <size>
276 <width>80</width>
277 <height>0</height>
278 </size>
279 </property>
280 <property name="text">
281 <string>UART3</string>
282 </property>
283 <property name="alignment">
284 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
285 </property>
286 </widget>
287 </item>
288 <item row="0" column="0">
289 <spacer name="verticalSpacer_5">
290 <property name="orientation">
291 <enum>Qt::Vertical</enum>
292 </property>
293 <property name="sizeType">
294 <enum>QSizePolicy::MinimumExpanding</enum>
295 </property>
296 <property name="sizeHint" stdset="0">
297 <size>
298 <width>20</width>
299 <height>75</height>
300 </size>
301 </property>
302 </spacer>
303 </item>
304 </layout>
305 </item>
306 <item row="0" column="1" colspan="3">
307 <widget class="QSvgWidget" name="boardImg" native="true">
308 <property name="sizePolicy">
309 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
310 <horstretch>0</horstretch>
311 <verstretch>0</verstretch>
312 </sizepolicy>
313 </property>
314 <property name="minimumSize">
315 <size>
316 <width>350</width>
317 <height>350</height>
318 </size>
319 </property>
320 <property name="maximumSize">
321 <size>
322 <width>160000</width>
323 <height>160000</height>
324 </size>
325 </property>
326 </widget>
327 </item>
328 <item row="1" column="0" colspan="5">
329 <widget class="CommonHWSettingsWidget" name="commonHWSettings" native="true">
330 <property name="minimumSize">
331 <size>
332 <width>600</width>
333 <height>20</height>
334 </size>
335 </property>
336 </widget>
337 </item>
338 <item row="0" column="0">
339 <spacer name="horizontalSpacer_2">
340 <property name="orientation">
341 <enum>Qt::Horizontal</enum>
342 </property>
343 <property name="sizeType">
344 <enum>QSizePolicy::MinimumExpanding</enum>
345 </property>
346 <property name="sizeHint" stdset="0">
347 <size>
348 <width>5</width>
349 <height>20</height>
350 </size>
351 </property>
352 </spacer>
353 </item>
354 </layout>
355 </item>
356 <item row="3" column="2">
357 <spacer name="verticalSpacer">
358 <property name="orientation">
359 <enum>Qt::Vertical</enum>
360 </property>
361 <property name="sizeHint" stdset="0">
362 <size>
363 <width>20</width>
364 <height>0</height>
365 </size>
366 </property>
367 </spacer>
368 </item>
369 </layout>
370 </widget>
371 </widget>
372 </item>
373 </layout>
374 </widget>
375 </widget>
376 </item>
377 <item>
378 <layout class="QHBoxLayout" name="horizontalLayout_2">
379 <property name="spacing">
380 <number>4</number>
381 </property>
382 <item>
383 <spacer name="horizontalSpacer">
384 <property name="orientation">
385 <enum>Qt::Horizontal</enum>
386 </property>
387 <property name="sizeHint" stdset="0">
388 <size>
389 <width>369</width>
390 <height>20</height>
391 </size>
392 </property>
393 </spacer>
394 </item>
395 <item>
396 <widget class="QPushButton" name="helpButton">
397 <property name="sizePolicy">
398 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
399 <horstretch>0</horstretch>
400 <verstretch>0</verstretch>
401 </sizepolicy>
402 </property>
403 <property name="minimumSize">
404 <size>
405 <width>25</width>
406 <height>25</height>
407 </size>
408 </property>
409 <property name="maximumSize">
410 <size>
411 <width>25</width>
412 <height>25</height>
413 </size>
414 </property>
415 <property name="toolTip">
416 <string>Takes you to the wiki page</string>
417 </property>
418 <property name="text">
419 <string/>
420 </property>
421 <property name="icon">
422 <iconset resource="../coreplugin/core.qrc">
423 <normaloff>:/core/images/helpicon.svg</normaloff>:/core/images/helpicon.svg</iconset>
424 </property>
425 <property name="iconSize">
426 <size>
427 <width>25</width>
428 <height>25</height>
429 </size>
430 </property>
431 <property name="flat">
432 <bool>true</bool>
433 </property>
434 <property name="objrelation" stdset="0">
435 <string notr="true">button:help</string>
436 </property>
437 </widget>
438 </item>
439 <item>
440 <widget class="QPushButton" name="applyButton">
441 <property name="minimumSize">
442 <size>
443 <width>0</width>
444 <height>0</height>
445 </size>
446 </property>
447 <property name="maximumSize">
448 <size>
449 <width>16777215</width>
450 <height>16777215</height>
451 </size>
452 </property>
453 <property name="palette">
454 <palette>
455 <active>
456 <colorrole role="Base">
457 <brush brushstyle="SolidPattern">
458 <color alpha="0">
459 <red>255</red>
460 <green>255</green>
461 <blue>255</blue>
462 </color>
463 </brush>
464 </colorrole>
465 <colorrole role="Window">
466 <brush brushstyle="SolidPattern">
467 <color alpha="255">
468 <red>232</red>
469 <green>232</green>
470 <blue>232</blue>
471 </color>
472 </brush>
473 </colorrole>
474 </active>
475 <inactive>
476 <colorrole role="Base">
477 <brush brushstyle="SolidPattern">
478 <color alpha="0">
479 <red>255</red>
480 <green>255</green>
481 <blue>255</blue>
482 </color>
483 </brush>
484 </colorrole>
485 <colorrole role="Window">
486 <brush brushstyle="SolidPattern">
487 <color alpha="255">
488 <red>232</red>
489 <green>232</green>
490 <blue>232</blue>
491 </color>
492 </brush>
493 </colorrole>
494 </inactive>
495 <disabled>
496 <colorrole role="Base">
497 <brush brushstyle="SolidPattern">
498 <color alpha="255">
499 <red>232</red>
500 <green>232</green>
501 <blue>232</blue>
502 </color>
503 </brush>
504 </colorrole>
505 <colorrole role="Window">
506 <brush brushstyle="SolidPattern">
507 <color alpha="255">
508 <red>232</red>
509 <green>232</green>
510 <blue>232</blue>
511 </color>
512 </brush>
513 </colorrole>
514 </disabled>
515 </palette>
516 </property>
517 <property name="toolTip">
518 <string>Send to board but don't write in SD.
519 Beware of not locking yourself out!</string>
520 </property>
521 <property name="autoFillBackground">
522 <bool>false</bool>
523 </property>
524 <property name="styleSheet">
525 <string notr="true"/>
526 </property>
527 <property name="text">
528 <string>Apply</string>
529 </property>
530 <property name="iconSize">
531 <size>
532 <width>16</width>
533 <height>16</height>
534 </size>
535 </property>
536 <property name="checkable">
537 <bool>false</bool>
538 </property>
539 <property name="objrelation" stdset="0">
540 <string notr="true">button:apply</string>
541 </property>
542 </widget>
543 </item>
544 <item>
545 <widget class="QPushButton" name="saveButton">
546 <property name="minimumSize">
547 <size>
548 <width>0</width>
549 <height>0</height>
550 </size>
551 </property>
552 <property name="maximumSize">
553 <size>
554 <width>16777215</width>
555 <height>16777215</height>
556 </size>
557 </property>
558 <property name="toolTip">
559 <string>Applies and Saves all settings to SD.
560 Beware of not locking yourself out!</string>
561 </property>
562 <property name="autoFillBackground">
563 <bool>false</bool>
564 </property>
565 <property name="styleSheet">
566 <string notr="true"/>
567 </property>
568 <property name="text">
569 <string>Save</string>
570 </property>
571 <property name="objrelation" stdset="0">
572 <string notr="true">button:save</string>
573 </property>
574 </widget>
575 </item>
576 </layout>
577 </item>
578 </layout>
579 </widget>
580 <customwidgets>
581 <customwidget>
582 <class>QSvgWidget</class>
583 <extends>QWidget</extends>
584 <header>qsvgwidget.h</header>
585 </customwidget>
586 <customwidget>
587 <class>CommonHWSettingsWidget</class>
588 <extends>QWidget</extends>
589 <header>commonhwsettingswidget.h</header>
590 <container>1</container>
591 </customwidget>
592 </customwidgets>
593 <resources>
594 <include location="../coreplugin/core.qrc"/>
595 <include location="configgadget.qrc"/>
596 </resources>
597 <connections/>
598 </ui>