1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>Sparky2HWWidget
</class>
4 <widget class=
"QWidget" name=
"Sparky2HWWidget">
5 <property name=
"geometry">
13 <property name=
"windowTitle">
16 <layout class=
"QVBoxLayout" name=
"verticalLayout">
18 <widget class=
"QTabWidget" name=
"tabWidget">
19 <property name=
"currentIndex">
22 <widget class=
"QWidget" name=
"tab">
23 <property name=
"autoFillBackground">
26 <attribute name=
"title">
27 <string>HW settings
</string>
29 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
30 <property name=
"leftMargin">
33 <property name=
"topMargin">
36 <property name=
"rightMargin">
39 <property name=
"bottomMargin">
43 <widget class=
"QScrollArea" name=
"scrollArea">
44 <property name=
"palette">
47 <colorrole role=
"Base">
48 <brush brushstyle=
"SolidPattern">
56 <colorrole role=
"Window">
57 <brush brushstyle=
"SolidPattern">
67 <colorrole role=
"Base">
68 <brush brushstyle=
"SolidPattern">
76 <colorrole role=
"Window">
77 <brush brushstyle=
"SolidPattern">
87 <colorrole role=
"Base">
88 <brush brushstyle=
"SolidPattern">
96 <colorrole role=
"Window">
97 <brush brushstyle=
"SolidPattern">
108 <property name=
"styleSheet">
109 <string notr=
"true">border-color: rgb(
255,
0,
0);
</string>
111 <property name=
"frameShape">
112 <enum>QFrame::NoFrame
</enum>
114 <property name=
"frameShadow">
115 <enum>QFrame::Plain
</enum>
117 <property name=
"widgetResizable">
120 <widget class=
"QWidget" name=
"scrollAreaWidgetContents">
121 <property name=
"geometry">
129 <layout class=
"QGridLayout" name=
"gridLayout_3">
130 <property name=
"leftMargin">
133 <property name=
"topMargin">
136 <property name=
"rightMargin">
139 <property name=
"bottomMargin">
142 <item row=
"3" column=
"2">
143 <spacer name=
"verticalSpacer">
144 <property name=
"orientation">
145 <enum>Qt::Vertical
</enum>
147 <property name=
"sizeHint" stdset=
"0">
155 <item row=
"2" column=
"0">
156 <spacer name=
"horizontalSpacer_4">
157 <property name=
"orientation">
158 <enum>Qt::Horizontal
</enum>
160 <property name=
"sizeHint" stdset=
"0">
168 <item row=
"2" column=
"3">
169 <spacer name=
"horizontalSpacer_5">
170 <property name=
"orientation">
171 <enum>Qt::Horizontal
</enum>
173 <property name=
"sizeHint" stdset=
"0">
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>
189 <property name=
"minimumSize">
195 <property name=
"maximumSize">
197 <width>16777215</width>
198 <height>16777215</height>
201 <property name=
"font">
207 <property name=
"text">
208 <string>Changes on this page only take effect after board reset or power cycle
</string>
210 <property name=
"alignment">
211 <set>Qt::AlignCenter
</set>
213 <property name=
"wordWrap">
218 <item row=
"1" column=
"2">
219 <spacer name=
"verticalSpacer_2">
220 <property name=
"orientation">
221 <enum>Qt::Vertical
</enum>
223 <property name=
"sizeType">
224 <enum>QSizePolicy::Fixed
</enum>
226 <property name=
"sizeHint" stdset=
"0">
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">
239 <widget class=
"QComboBox" name=
"cbFlexiTelemSpeed"/>
242 <widget class=
"QComboBox" name=
"cbFlexiGPSSpeed"/>
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>
251 <property name=
"alignment">
252 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
256 <item row=
"8" column=
"0">
257 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
259 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
260 <property name=
"spacing">
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>
271 <property name=
"text">
272 <string>Speed
</string>
274 <property name=
"alignment">
275 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft
</set>
280 <widget class=
"QComboBox" name=
"cbMainTelemSpeed"/>
283 <widget class=
"QComboBox" name=
"cbMainGPSSpeed"/>
289 <item row=
"10" column=
"0">
290 <widget class=
"QComboBox" name=
"cbMainGPSProtocol"/>
292 <item row=
"0" column=
"3" colspan=
"2">
293 <widget class=
"QLabel" name=
"label">
294 <property name=
"text">
295 <string>Receiver Port
</string>
297 <property name=
"alignment">
298 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
302 <item row=
"19" column=
"1">
303 <spacer name=
"horizontalSpacer_7">
304 <property name=
"orientation">
305 <enum>Qt::Horizontal
</enum>
307 <property name=
"sizeType">
308 <enum>QSizePolicy::Minimum
</enum>
310 <property name=
"sizeHint" stdset=
"0">
318 <item row=
"19" column=
"2">
319 <spacer name=
"horizontalSpacer_10">
320 <property name=
"orientation">
321 <enum>Qt::Horizontal
</enum>
323 <property name=
"sizeHint" stdset=
"0">
331 <item row=
"0" column=
"1">
332 <widget class=
"QLabel" name=
"label_9">
333 <property name=
"text">
334 <string>Flexi Port
</string>
336 <property name=
"alignment">
337 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
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>
349 <property name=
"text">
350 <string>USB VCP Function
</string>
352 <property name=
"alignment">
353 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
357 <item row=
"17" column=
"0">
358 <spacer name=
"horizontalSpacer_3">
359 <property name=
"orientation">
360 <enum>Qt::Horizontal
</enum>
362 <property name=
"sizeType">
363 <enum>QSizePolicy::Minimum
</enum>
365 <property name=
"sizeHint" stdset=
"0">
373 <item row=
"6" column=
"0">
374 <widget class=
"QLabel" name=
"label_5">
375 <property name=
"text">
376 <string>Main Port
</string>
378 <property name=
"alignment">
379 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
383 <item row=
"5" column=
"1">
384 <widget class=
"QComboBox" name=
"cbFlexiGPSProtocol"/>
386 <item row=
"7" column=
"0">
387 <widget class=
"QComboBox" name=
"cbMain"/>
389 <item row=
"13" column=
"0">
390 <widget class=
"QComboBox" name=
"cbUSBHIDFunction"/>
392 <item row=
"1" column=
"1">
393 <widget class=
"QComboBox" name=
"cbFlexi"/>
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>
400 <property name=
"alignment">
401 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
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>
413 <property name=
"maximumSize">
415 <width>160000</width>
416 <height>160000</height>
421 <item row=
"9" column=
"0">
422 <widget class=
"QLabel" name=
"lbMainGPSProtocol">
423 <property name=
"text">
424 <string>Protocol
</string>
426 <property name=
"alignment">
427 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
431 <item row=
"15" column=
"0">
432 <widget class=
"QComboBox" name=
"cbUSBVCPFunction"/>
434 <item row=
"18" column=
"3">
435 <widget class=
"QComboBox" name=
"cbI2C"/>
437 <item row=
"4" column=
"1">
438 <widget class=
"QLabel" name=
"lbFlexiGPSProtocol">
439 <property name=
"text">
440 <string>Protocol
</string>
442 <property name=
"alignment">
443 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
447 <item row=
"1" column=
"2">
448 <widget class=
"QComboBox" name=
"cbRadioAux"/>
450 <item row=
"2" column=
"1">
451 <widget class=
"QLabel" name=
"lblFlexiSpeed">
452 <property name=
"text">
453 <string>Speed
</string>
455 <property name=
"alignment">
456 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
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>
468 <property name=
"text">
469 <string>USB HID Function
</string>
471 <property name=
"alignment">
472 <set>Qt::AlignBottom|Qt::AlignHCenter
</set>
476 <item row=
"18" column=
"4">
477 <spacer name=
"horizontalSpacer_2">
478 <property name=
"orientation">
479 <enum>Qt::Horizontal
</enum>
481 <property name=
"sizeType">
482 <enum>QSizePolicy::MinimumExpanding
</enum>
484 <property name=
"sizeHint" stdset=
"0">
492 <item row=
"19" column=
"3" colspan=
"2">
493 <spacer name=
"horizontalSpacer_9">
494 <property name=
"orientation">
495 <enum>Qt::Horizontal
</enum>
497 <property name=
"sizeType">
498 <enum>QSizePolicy::Minimum
</enum>
500 <property name=
"sizeHint" stdset=
"0">
508 <item row=
"1" column=
"3" colspan=
"2">
509 <widget class=
"QComboBox" name=
"cbRcvr"/>
511 <item row=
"11" column=
"0">
512 <spacer name=
"verticalSpacer_3">
513 <property name=
"orientation">
514 <enum>Qt::Vertical
</enum>
516 <property name=
"sizeHint" stdset=
"0">
524 <item row=
"16" column=
"0">
525 <spacer name=
"verticalSpacer_4">
526 <property name=
"orientation">
527 <enum>Qt::Vertical
</enum>
529 <property name=
"sizeType">
530 <enum>QSizePolicy::Fixed
</enum>
532 <property name=
"sizeHint" stdset=
"0">
551 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
552 <property name=
"spacing">
556 <spacer name=
"horizontalSpacer">
557 <property name=
"orientation">
558 <enum>Qt::Horizontal
</enum>
560 <property name=
"sizeHint" stdset=
"0">
569 <widget class=
"QPushButton" name=
"helpButton">
570 <property name=
"sizePolicy">
571 <sizepolicy hsizetype=
"Fixed" vsizetype=
"Fixed">
572 <horstretch>0</horstretch>
573 <verstretch>0</verstretch>
576 <property name=
"minimumSize">
582 <property name=
"maximumSize">
588 <property name=
"toolTip">
589 <string>Takes you to the wiki page
</string>
591 <property name=
"text">
594 <property name=
"icon">
595 <iconset resource=
"../coreplugin/core.qrc">
596 <normaloff>:/core/images/helpicon.svg
</normaloff>:/core/images/helpicon.svg
</iconset>
598 <property name=
"iconSize">
604 <property name=
"flat">
607 <property name=
"objrelation" stdset=
"0">
608 <string notr=
"true">button:help
</string>
613 <widget class=
"QPushButton" name=
"applyButton">
614 <property name=
"minimumSize">
620 <property name=
"maximumSize">
622 <width>16777215</width>
623 <height>16777215</height>
626 <property name=
"palette">
629 <colorrole role=
"Base">
630 <brush brushstyle=
"SolidPattern">
638 <colorrole role=
"Window">
639 <brush brushstyle=
"SolidPattern">
649 <colorrole role=
"Base">
650 <brush brushstyle=
"SolidPattern">
658 <colorrole role=
"Window">
659 <brush brushstyle=
"SolidPattern">
669 <colorrole role=
"Base">
670 <brush brushstyle=
"SolidPattern">
678 <colorrole role=
"Window">
679 <brush brushstyle=
"SolidPattern">
690 <property name=
"toolTip">
691 <string>Send to board but don't write in SD.
692 Beware of not locking yourself out!
</string>
694 <property name=
"autoFillBackground">
697 <property name=
"styleSheet">
698 <string notr=
"true"/>
700 <property name=
"text">
701 <string>Apply
</string>
703 <property name=
"iconSize">
709 <property name=
"checkable">
712 <property name=
"objrelation" stdset=
"0">
713 <string notr=
"true">button:apply
</string>
718 <widget class=
"QPushButton" name=
"saveButton">
719 <property name=
"minimumSize">
725 <property name=
"maximumSize">
727 <width>16777215</width>
728 <height>16777215</height>
731 <property name=
"toolTip">
732 <string>Applies and Saves all settings to SD.
733 Beware of not locking yourself out!
</string>
735 <property name=
"autoFillBackground">
738 <property name=
"styleSheet">
739 <string notr=
"true"/>
741 <property name=
"text">
742 <string>Save
</string>
744 <property name=
"objrelation" stdset=
"0">
745 <string notr=
"true">button:save
</string>
755 <class>QSvgWidget
</class>
756 <extends>QWidget
</extends>
757 <header>qsvgwidget.h
</header>
761 <include location=
"../coreplugin/core.qrc"/>
762 <include location=
"configgadget.qrc"/>