[Companion] MdiChild now use a QTreeWidget instead of a QListWidget (… (#4096)
[opentx.git] / companion / src / modeledit / setup_module.ui
blob770679f0341ad9f5bb4a72a257ace21d7a006579
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>Module</class>
4 <widget class="QWidget" name="Module">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>757</width>
10 <height>300</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string/>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <property name="spacing">
18 <number>6</number>
19 </property>
20 <property name="margin">
21 <number>0</number>
22 </property>
23 <item>
24 <widget class="Line" name="line">
25 <property name="orientation">
26 <enum>Qt::Horizontal</enum>
27 </property>
28 </widget>
29 </item>
30 <item>
31 <widget class="QLabel" name="label_module">
32 <property name="sizePolicy">
33 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
34 <horstretch>0</horstretch>
35 <verstretch>0</verstretch>
36 </sizepolicy>
37 </property>
38 <property name="font">
39 <font>
40 <weight>75</weight>
41 <bold>true</bold>
42 </font>
43 </property>
44 <property name="text">
45 <string notr="true">Label</string>
46 </property>
47 </widget>
48 </item>
49 <item>
50 <widget class="QGroupBox" name="moduleGB">
51 <property name="sizePolicy">
52 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
53 <horstretch>0</horstretch>
54 <verstretch>0</verstretch>
55 </sizepolicy>
56 </property>
57 <property name="maximumSize">
58 <size>
59 <width>16777215</width>
60 <height>16777215</height>
61 </size>
62 </property>
63 <property name="title">
64 <string/>
65 </property>
66 <property name="alignment">
67 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
68 </property>
69 <layout class="QGridLayout" name="gridLayout_69" rowstretch="0,0,0,0,0,0,0,0,0" columnstretch="0,0,0,0,0,0,0">
70 <property name="margin">
71 <number>0</number>
72 </property>
73 <property name="verticalSpacing">
74 <number>6</number>
75 </property>
76 <item row="2" column="3" alignment="Qt::AlignLeft">
77 <widget class="QSpinBox" name="channelsStart">
78 <property name="maximumSize">
79 <size>
80 <width>125</width>
81 <height>16777215</height>
82 </size>
83 </property>
84 <property name="alignment">
85 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
86 </property>
87 <property name="suffix">
88 <string/>
89 </property>
90 <property name="prefix">
91 <string>CH </string>
92 </property>
93 <property name="minimum">
94 <number>1</number>
95 </property>
96 <property name="maximum">
97 <number>32</number>
98 </property>
99 <property name="singleStep">
100 <number>1</number>
101 </property>
102 <property name="value">
103 <number>1</number>
104 </property>
105 </widget>
106 </item>
107 <item row="6" column="1" colspan="5">
108 <widget class="QFrame" name="failsafesFrame">
109 <property name="maximumSize">
110 <size>
111 <width>700</width>
112 <height>16777215</height>
113 </size>
114 </property>
115 <property name="frameShape">
116 <enum>QFrame::StyledPanel</enum>
117 </property>
118 <property name="frameShadow">
119 <enum>QFrame::Sunken</enum>
120 </property>
121 <layout class="QVBoxLayout" name="verticalLayout_2">
122 <item>
123 <layout class="QGridLayout" name="failsafesLayout"/>
124 </item>
125 </layout>
126 </widget>
127 </item>
128 <item row="5" column="0">
129 <widget class="QLabel" name="label_failsafeMode">
130 <property name="maximumSize">
131 <size>
132 <width>16777215</width>
133 <height>16777215</height>
134 </size>
135 </property>
136 <property name="text">
137 <string>Failsafe Mode</string>
138 </property>
139 <property name="alignment">
140 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
141 </property>
142 </widget>
143 </item>
144 <item row="2" column="2" alignment="Qt::AlignRight">
145 <widget class="QLabel" name="label_channelsStart">
146 <property name="maximumSize">
147 <size>
148 <width>16777215</width>
149 <height>16777215</height>
150 </size>
151 </property>
152 <property name="text">
153 <string>Start</string>
154 </property>
155 <property name="alignment">
156 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
157 </property>
158 </widget>
159 </item>
160 <item row="2" column="1">
161 <widget class="QComboBox" name="protocol">
162 <property name="maximumSize">
163 <size>
164 <width>125</width>
165 <height>16777215</height>
166 </size>
167 </property>
168 </widget>
169 </item>
170 <item row="3" column="4" alignment="Qt::AlignRight">
171 <widget class="QLabel" name="label_ppmDelay">
172 <property name="maximumSize">
173 <size>
174 <width>16777215</width>
175 <height>16777215</height>
176 </size>
177 </property>
178 <property name="text">
179 <string>PPM delay</string>
180 </property>
181 <property name="alignment">
182 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
183 </property>
184 </widget>
185 </item>
186 <item row="3" column="5">
187 <widget class="QSpinBox" name="ppmDelay">
188 <property name="maximumSize">
189 <size>
190 <width>125</width>
191 <height>16777215</height>
192 </size>
193 </property>
194 <property name="alignment">
195 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
196 </property>
197 <property name="suffix">
198 <string> us</string>
199 </property>
200 <property name="minimum">
201 <number>100</number>
202 </property>
203 <property name="maximum">
204 <number>800</number>
205 </property>
206 <property name="singleStep">
207 <number>50</number>
208 </property>
209 <property name="value">
210 <number>300</number>
211 </property>
212 </widget>
213 </item>
214 <item row="3" column="3" alignment="Qt::AlignLeft">
215 <widget class="QComboBox" name="ppmPolarity">
216 <property name="sizePolicy">
217 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
218 <horstretch>0</horstretch>
219 <verstretch>0</verstretch>
220 </sizepolicy>
221 </property>
222 <property name="maximumSize">
223 <size>
224 <width>125</width>
225 <height>16777215</height>
226 </size>
227 </property>
228 <item>
229 <property name="text">
230 <string>Negative</string>
231 </property>
232 </item>
233 <item>
234 <property name="text">
235 <string>Positive</string>
236 </property>
237 </item>
238 </widget>
239 </item>
240 <item row="0" column="1">
241 <widget class="QComboBox" name="trainerMode">
242 <property name="sizePolicy">
243 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
244 <horstretch>0</horstretch>
245 <verstretch>0</verstretch>
246 </sizepolicy>
247 </property>
248 <item>
249 <property name="text">
250 <string>Master/Jack</string>
251 </property>
252 </item>
253 <item>
254 <property name="text">
255 <string>Slave/Jack</string>
256 </property>
257 </item>
258 <item>
259 <property name="text">
260 <string>Master/SBUS Module</string>
261 </property>
262 </item>
263 <item>
264 <property name="text">
265 <string>Master/CPPM Module</string>
266 </property>
267 </item>
268 <item>
269 <property name="text">
270 <string>Master/SBUS in battery compartment</string>
271 </property>
272 </item>
273 </widget>
274 </item>
275 <item row="3" column="2" alignment="Qt::AlignRight">
276 <widget class="QLabel" name="label_ppmPolarity">
277 <property name="maximumSize">
278 <size>
279 <width>16777215</width>
280 <height>16777215</height>
281 </size>
282 </property>
283 <property name="text">
284 <string>Polarity</string>
285 </property>
286 <property name="alignment">
287 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
288 </property>
289 </widget>
290 </item>
291 <item row="0" column="0" alignment="Qt::AlignRight">
292 <widget class="QLabel" name="label_trainerMode">
293 <property name="maximumSize">
294 <size>
295 <width>16777215</width>
296 <height>16777215</height>
297 </size>
298 </property>
299 <property name="text">
300 <string>Trainer Mode</string>
301 </property>
302 <property name="alignment">
303 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
304 </property>
305 </widget>
306 </item>
307 <item row="3" column="1">
308 <widget class="QDoubleSpinBox" name="ppmFrameLength">
309 <property name="sizePolicy">
310 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
311 <horstretch>0</horstretch>
312 <verstretch>0</verstretch>
313 </sizepolicy>
314 </property>
315 <property name="maximumSize">
316 <size>
317 <width>125</width>
318 <height>16777215</height>
319 </size>
320 </property>
321 <property name="suffix">
322 <string> ms</string>
323 </property>
324 <property name="decimals">
325 <number>1</number>
326 </property>
327 <property name="minimum">
328 <double>12.500000000000000</double>
329 </property>
330 <property name="maximum">
331 <double>32.500000000000000</double>
332 </property>
333 <property name="singleStep">
334 <double>0.500000000000000</double>
335 </property>
336 <property name="value">
337 <double>22.500000000000000</double>
338 </property>
339 </widget>
340 </item>
341 <item row="2" column="5" alignment="Qt::AlignLeft">
342 <widget class="QSpinBox" name="channelsCount">
343 <property name="maximumSize">
344 <size>
345 <width>125</width>
346 <height>16777215</height>
347 </size>
348 </property>
349 <property name="alignment">
350 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
351 </property>
352 <property name="suffix">
353 <string/>
354 </property>
355 <property name="minimum">
356 <number>4</number>
357 </property>
358 <property name="maximum">
359 <number>16</number>
360 </property>
361 <property name="singleStep">
362 <number>2</number>
363 </property>
364 <property name="value">
365 <number>8</number>
366 </property>
367 </widget>
368 </item>
369 <item row="3" column="0" alignment="Qt::AlignRight">
370 <widget class="QLabel" name="label_ppmFrameLength">
371 <property name="maximumSize">
372 <size>
373 <width>16777215</width>
374 <height>16777215</height>
375 </size>
376 </property>
377 <property name="text">
378 <string>PPM Frame Length</string>
379 </property>
380 <property name="alignment">
381 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
382 </property>
383 </widget>
384 </item>
385 <item row="2" column="4" alignment="Qt::AlignRight">
386 <widget class="QLabel" name="label_channelsCount">
387 <property name="sizePolicy">
388 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
389 <horstretch>0</horstretch>
390 <verstretch>0</verstretch>
391 </sizepolicy>
392 </property>
393 <property name="maximumSize">
394 <size>
395 <width>16777215</width>
396 <height>16777215</height>
397 </size>
398 </property>
399 <property name="text">
400 <string>Channels</string>
401 </property>
402 <property name="alignment">
403 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
404 </property>
405 </widget>
406 </item>
407 <item row="5" column="1" alignment="Qt::AlignLeft">
408 <widget class="QComboBox" name="failsafeMode">
409 <property name="sizePolicy">
410 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
411 <horstretch>0</horstretch>
412 <verstretch>0</verstretch>
413 </sizepolicy>
414 </property>
415 <property name="maximumSize">
416 <size>
417 <width>125</width>
418 <height>16777215</height>
419 </size>
420 </property>
421 <item>
422 <property name="text">
423 <string>Not set</string>
424 </property>
425 </item>
426 <item>
427 <property name="text">
428 <string>Hold</string>
429 </property>
430 </item>
431 <item>
432 <property name="text">
433 <string>Custom</string>
434 </property>
435 </item>
436 <item>
437 <property name="text">
438 <string>No Pulses</string>
439 </property>
440 </item>
441 <item>
442 <property name="text">
443 <string>Receiver</string>
444 </property>
445 </item>
446 </widget>
447 </item>
448 <item row="6" column="0" alignment="Qt::AlignRight">
449 <widget class="QLabel" name="failsafesLayoutLabel">
450 <property name="maximumSize">
451 <size>
452 <width>16777215</width>
453 <height>16777215</height>
454 </size>
455 </property>
456 <property name="text">
457 <string>Failsafe Positions</string>
458 </property>
459 <property name="alignment">
460 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
461 </property>
462 </widget>
463 </item>
464 <item row="2" column="0" alignment="Qt::AlignRight">
465 <widget class="QLabel" name="label_protocol">
466 <property name="maximumSize">
467 <size>
468 <width>16777215</width>
469 <height>16777215</height>
470 </size>
471 </property>
472 <property name="text">
473 <string>Protocol</string>
474 </property>
475 <property name="alignment">
476 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
477 </property>
478 </widget>
479 </item>
480 <item row="2" column="6">
481 <spacer name="horizontalSpacer_2">
482 <property name="orientation">
483 <enum>Qt::Horizontal</enum>
484 </property>
485 <property name="sizeHint" stdset="0">
486 <size>
487 <width>40</width>
488 <height>20</height>
489 </size>
490 </property>
491 </spacer>
492 </item>
493 <item row="8" column="0">
494 <spacer name="verticalSpacer">
495 <property name="orientation">
496 <enum>Qt::Vertical</enum>
497 </property>
498 <property name="sizeHint" stdset="0">
499 <size>
500 <width>20</width>
501 <height>40</height>
502 </size>
503 </property>
504 </spacer>
505 </item>
506 <item row="5" column="5">
507 <widget class="QSpinBox" name="rxNumber">
508 <property name="sizePolicy">
509 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
510 <horstretch>0</horstretch>
511 <verstretch>0</verstretch>
512 </sizepolicy>
513 </property>
514 <property name="maximumSize">
515 <size>
516 <width>125</width>
517 <height>16777215</height>
518 </size>
519 </property>
520 <property name="suffix">
521 <string/>
522 </property>
523 <property name="minimum">
524 <number>0</number>
525 </property>
526 <property name="maximum">
527 <number>63</number>
528 </property>
529 <property name="singleStep">
530 <number>1</number>
531 </property>
532 <property name="value">
533 <number>0</number>
534 </property>
535 </widget>
536 </item>
537 <item row="4" column="0">
538 <widget class="QLabel" name="label_multiProtocol">
539 <property name="text">
540 <string>Multi Radio Protocol</string>
541 </property>
542 <property name="alignment">
543 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
544 </property>
545 </widget>
546 </item>
547 <item row="4" column="1">
548 <widget class="QComboBox" name="multiProtocol">
549 <property name="maximumSize">
550 <size>
551 <width>125</width>
552 <height>16777215</height>
553 </size>
554 </property>
555 </widget>
556 </item>
557 <item row="5" column="4">
558 <widget class="QLabel" name="label_rxNumber">
559 <property name="maximumSize">
560 <size>
561 <width>16777215</width>
562 <height>16777215</height>
563 </size>
564 </property>
565 <property name="text">
566 <string>Receiver No.</string>
567 </property>
568 <property name="alignment">
569 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
570 </property>
571 </widget>
572 </item>
573 <item row="5" column="2">
574 <widget class="QLabel" name="label_ppmOutputType">
575 <property name="text">
576 <string>Output type</string>
577 </property>
578 </widget>
579 </item>
580 <item row="5" column="3">
581 <widget class="QComboBox" name="ppmOutputType">
582 <item>
583 <property name="text">
584 <string>Open Drain</string>
585 </property>
586 </item>
587 <item>
588 <property name="text">
589 <string>Push Pull</string>
590 </property>
591 </item>
592 </widget>
593 </item>
594 <item row="4" column="2">
595 <widget class="QLabel" name="label_multiSubType">
596 <property name="text">
597 <string>SubType</string>
598 </property>
599 </widget>
600 </item>
601 <item row="4" column="3">
602 <widget class="QComboBox" name="multiSubType">
603 <property name="maximumSize">
604 <size>
605 <width>125</width>
606 <height>16777215</height>
607 </size>
608 </property>
609 </widget>
610 </item>
611 <item row="4" column="4">
612 <widget class="QCheckBox" name="autoBind">
613 <property name="text">
614 <string>Bind on startup</string>
615 </property>
616 </widget>
617 </item>
618 <item row="4" column="5">
619 <widget class="QCheckBox" name="lowPower">
620 <property name="text">
621 <string>Low Power</string>
622 </property>
623 </widget>
624 </item>
625 </layout>
626 </widget>
627 </item>
628 </layout>
629 </widget>
630 <tabstops>
631 <tabstop>trainerMode</tabstop>
632 <tabstop>protocol</tabstop>
633 <tabstop>channelsStart</tabstop>
634 <tabstop>channelsCount</tabstop>
635 <tabstop>ppmFrameLength</tabstop>
636 <tabstop>ppmPolarity</tabstop>
637 <tabstop>ppmDelay</tabstop>
638 <tabstop>failsafeMode</tabstop>
639 <tabstop>ppmOutputType</tabstop>
640 <tabstop>rxNumber</tabstop>
641 </tabstops>
642 <resources/>
643 <connections/>
644 </ui>