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