Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / config / airframe_ground.ui
blob5720b2ce55918819b04cdf8a9a3929fb83b2a844
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>GroundConfigWidget</class>
4 <widget class="QWidget" name="GroundConfigWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>801</width>
10 <height>652</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Form</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_10">
17 <property name="leftMargin">
18 <number>0</number>
19 </property>
20 <property name="topMargin">
21 <number>0</number>
22 </property>
23 <property name="rightMargin">
24 <number>0</number>
25 </property>
26 <property name="bottomMargin">
27 <number>0</number>
28 </property>
29 <item>
30 <layout class="QHBoxLayout" name="horizontalLayout_2">
31 <property name="leftMargin">
32 <number>0</number>
33 </property>
34 <property name="topMargin">
35 <number>0</number>
36 </property>
37 <item>
38 <widget class="QLabel" name="label_51">
39 <property name="sizePolicy">
40 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
41 <horstretch>0</horstretch>
42 <verstretch>0</verstretch>
43 </sizepolicy>
44 </property>
45 <property name="font">
46 <font>
47 <weight>75</weight>
48 <bold>true</bold>
49 </font>
50 </property>
51 <property name="text">
52 <string>Vehicle type:</string>
53 </property>
54 </widget>
55 </item>
56 <item>
57 <widget class="QComboBox" name="groundVehicleType"/>
58 </item>
59 <item>
60 <spacer name="horizontalSpacer_31">
61 <property name="orientation">
62 <enum>Qt::Horizontal</enum>
63 </property>
64 <property name="sizeHint" stdset="0">
65 <size>
66 <width>40</width>
67 <height>20</height>
68 </size>
69 </property>
70 </spacer>
71 </item>
72 </layout>
73 </item>
74 <item>
75 <layout class="QHBoxLayout" name="horizontalLayout_3">
76 <property name="topMargin">
77 <number>0</number>
78 </property>
79 <item>
80 <layout class="QVBoxLayout" name="verticalLayout_2">
81 <property name="leftMargin">
82 <number>0</number>
83 </property>
84 <item>
85 <widget class="QGroupBox" name="groupBox_7">
86 <property name="sizePolicy">
87 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
88 <horstretch>0</horstretch>
89 <verstretch>0</verstretch>
90 </sizepolicy>
91 </property>
92 <property name="minimumSize">
93 <size>
94 <width>0</width>
95 <height>0</height>
96 </size>
97 </property>
98 <property name="maximumSize">
99 <size>
100 <width>16777215</width>
101 <height>16777215</height>
102 </size>
103 </property>
104 <property name="title">
105 <string>Output Channel Assignments</string>
106 </property>
107 <layout class="QFormLayout" name="formLayout_5">
108 <property name="fieldGrowthPolicy">
109 <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
110 </property>
111 <item row="2" column="0">
112 <widget class="QLabel" name="gvMotor1Label">
113 <property name="minimumSize">
114 <size>
115 <width>60</width>
116 <height>0</height>
117 </size>
118 </property>
119 <property name="text">
120 <string>Motor 1</string>
121 </property>
122 <property name="alignment">
123 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
124 </property>
125 </widget>
126 </item>
127 <item row="2" column="1">
128 <widget class="QComboBox" name="gvMotor1ChannelBox">
129 <property name="toolTip">
130 <string>Select output channel for the first motor</string>
131 </property>
132 </widget>
133 </item>
134 <item row="3" column="0">
135 <widget class="QLabel" name="gvMotor2Label">
136 <property name="enabled">
137 <bool>true</bool>
138 </property>
139 <property name="minimumSize">
140 <size>
141 <width>60</width>
142 <height>0</height>
143 </size>
144 </property>
145 <property name="text">
146 <string>Motor 2</string>
147 </property>
148 </widget>
149 </item>
150 <item row="3" column="1">
151 <widget class="QComboBox" name="gvMotor2ChannelBox">
152 <property name="enabled">
153 <bool>true</bool>
154 </property>
155 <property name="toolTip">
156 <string>Select output channel for a second motor</string>
157 </property>
158 </widget>
159 </item>
160 <item row="4" column="0">
161 <widget class="QLabel" name="gvSteering1Label">
162 <property name="minimumSize">
163 <size>
164 <width>60</width>
165 <height>0</height>
166 </size>
167 </property>
168 <property name="text">
169 <string>Front Steering</string>
170 </property>
171 </widget>
172 </item>
173 <item row="4" column="1">
174 <widget class="QComboBox" name="gvSteering1ChannelBox">
175 <property name="toolTip">
176 <string>Select output channel for the first steering actuator</string>
177 </property>
178 </widget>
179 </item>
180 <item row="5" column="0">
181 <widget class="QLabel" name="gvSteering2Label">
182 <property name="minimumSize">
183 <size>
184 <width>60</width>
185 <height>0</height>
186 </size>
187 </property>
188 <property name="text">
189 <string>Rear Steering</string>
190 </property>
191 </widget>
192 </item>
193 <item row="5" column="1">
194 <widget class="QComboBox" name="gvSteering2ChannelBox">
195 <property name="toolTip">
196 <string>Select output channel for a second steering actuator</string>
197 </property>
198 </widget>
199 </item>
200 </layout>
201 </widget>
202 </item>
203 <item>
204 <widget class="QGroupBox" name="differentialSteeringMixBox">
205 <property name="enabled">
206 <bool>true</bool>
207 </property>
208 <property name="sizePolicy">
209 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
210 <horstretch>0</horstretch>
211 <verstretch>0</verstretch>
212 </sizepolicy>
213 </property>
214 <property name="title">
215 <string>Differential Steering Mix</string>
216 </property>
217 <layout class="QVBoxLayout" name="verticalLayout_33">
218 <item>
219 <layout class="QHBoxLayout" name="horizontalLayout_30">
220 <item>
221 <layout class="QVBoxLayout" name="diffSteering1Layout">
222 <item>
223 <widget class="QLabel" name="differentialSteeringLabel1">
224 <property name="minimumSize">
225 <size>
226 <width>65</width>
227 <height>0</height>
228 </size>
229 </property>
230 <property name="font">
231 <font>
232 <pointsize>-1</pointsize>
233 <weight>75</weight>
234 <italic>false</italic>
235 <bold>true</bold>
236 </font>
237 </property>
238 <property name="styleSheet">
239 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
240 color: rgb(255, 255, 255);
241 border-radius: 5;
242 font: bold 12px;
243 margin:1px;</string>
244 </property>
245 <property name="text">
246 <string>Left %</string>
247 </property>
248 <property name="alignment">
249 <set>Qt::AlignCenter</set>
250 </property>
251 </widget>
252 </item>
253 <item>
254 <widget class="QSlider" name="differentialSteeringSlider1">
255 <property name="sizePolicy">
256 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
257 <horstretch>0</horstretch>
258 <verstretch>0</verstretch>
259 </sizepolicy>
260 </property>
261 <property name="maximum">
262 <number>100</number>
263 </property>
264 <property name="value">
265 <number>50</number>
266 </property>
267 <property name="orientation">
268 <enum>Qt::Vertical</enum>
269 </property>
270 </widget>
271 </item>
272 <item>
273 <widget class="QLabel" name="gvDiffSteering1Label">
274 <property name="text">
275 <string>50</string>
276 </property>
277 <property name="alignment">
278 <set>Qt::AlignCenter</set>
279 </property>
280 </widget>
281 </item>
282 </layout>
283 </item>
284 <item>
285 <layout class="QVBoxLayout" name="diffSteering2Layout">
286 <item>
287 <widget class="QLabel" name="differentialSteeringLabel2">
288 <property name="minimumSize">
289 <size>
290 <width>65</width>
291 <height>0</height>
292 </size>
293 </property>
294 <property name="styleSheet">
295 <string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
296 color: rgb(255, 255, 255);
297 border-radius: 5;
298 font: bold 12px;
299 margin:1px;</string>
300 </property>
301 <property name="text">
302 <string>Right %</string>
303 </property>
304 <property name="alignment">
305 <set>Qt::AlignCenter</set>
306 </property>
307 </widget>
308 </item>
309 <item>
310 <widget class="QSlider" name="differentialSteeringSlider2">
311 <property name="sizePolicy">
312 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
313 <horstretch>0</horstretch>
314 <verstretch>0</verstretch>
315 </sizepolicy>
316 </property>
317 <property name="maximum">
318 <number>100</number>
319 </property>
320 <property name="value">
321 <number>50</number>
322 </property>
323 <property name="orientation">
324 <enum>Qt::Vertical</enum>
325 </property>
326 </widget>
327 </item>
328 <item>
329 <widget class="QLabel" name="gvDiffSteering2Label">
330 <property name="text">
331 <string>50</string>
332 </property>
333 <property name="alignment">
334 <set>Qt::AlignCenter</set>
335 </property>
336 </widget>
337 </item>
338 </layout>
339 </item>
340 </layout>
341 </item>
342 </layout>
343 </widget>
344 </item>
345 </layout>
346 </item>
347 <item>
348 <widget class="QGroupBox" name="groundframeBox">
349 <property name="sizePolicy">
350 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
351 <horstretch>0</horstretch>
352 <verstretch>0</verstretch>
353 </sizepolicy>
354 </property>
355 <property name="minimumSize">
356 <size>
357 <width>200</width>
358 <height>0</height>
359 </size>
360 </property>
361 <property name="maximumSize">
362 <size>
363 <width>16777215</width>
364 <height>16777215</height>
365 </size>
366 </property>
367 <property name="title">
368 <string>Vehicle Frame</string>
369 </property>
370 <layout class="QVBoxLayout" name="vehicleframeBox">
371 <property name="leftMargin">
372 <number>9</number>
373 </property>
374 <property name="topMargin">
375 <number>9</number>
376 </property>
377 <property name="rightMargin">
378 <number>9</number>
379 </property>
380 <property name="bottomMargin">
381 <number>9</number>
382 </property>
383 <item>
384 <widget class="QGraphicsView" name="groundShape">
385 <property name="sizePolicy">
386 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
387 <horstretch>0</horstretch>
388 <verstretch>0</verstretch>
389 </sizepolicy>
390 </property>
391 <property name="minimumSize">
392 <size>
393 <width>50</width>
394 <height>300</height>
395 </size>
396 </property>
397 <property name="styleSheet">
398 <string notr="true">background:transparent</string>
399 </property>
400 <property name="frameShape">
401 <enum>QFrame::NoFrame</enum>
402 </property>
403 <property name="frameShadow">
404 <enum>QFrame::Plain</enum>
405 </property>
406 </widget>
407 </item>
408 </layout>
409 </widget>
410 </item>
411 <item>
412 <layout class="QVBoxLayout" name="verticalLayout">
413 <property name="leftMargin">
414 <number>0</number>
415 </property>
416 <property name="rightMargin">
417 <number>0</number>
418 </property>
419 <item>
420 <widget class="QGroupBox" name="gvThrottleCurve1GroupBox">
421 <property name="sizePolicy">
422 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
423 <horstretch>0</horstretch>
424 <verstretch>0</verstretch>
425 </sizepolicy>
426 </property>
427 <property name="maximumSize">
428 <size>
429 <width>280</width>
430 <height>280</height>
431 </size>
432 </property>
433 <property name="title">
434 <string>Front throttle curve</string>
435 </property>
436 <layout class="QVBoxLayout" name="verticalLayout_36">
437 <item>
438 <widget class="MixerCurve" name="groundVehicleThrottle1" native="true">
439 <property name="sizePolicy">
440 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
441 <horstretch>0</horstretch>
442 <verstretch>0</verstretch>
443 </sizepolicy>
444 </property>
445 <property name="minimumSize">
446 <size>
447 <width>0</width>
448 <height>0</height>
449 </size>
450 </property>
451 <property name="maximumSize">
452 <size>
453 <width>16777215</width>
454 <height>16777215</height>
455 </size>
456 </property>
457 <property name="sizeIncrement">
458 <size>
459 <width>0</width>
460 <height>0</height>
461 </size>
462 </property>
463 <property name="baseSize">
464 <size>
465 <width>0</width>
466 <height>0</height>
467 </size>
468 </property>
469 </widget>
470 </item>
471 </layout>
472 </widget>
473 </item>
474 <item>
475 <spacer name="verticalSpacer">
476 <property name="orientation">
477 <enum>Qt::Vertical</enum>
478 </property>
479 <property name="sizeType">
480 <enum>QSizePolicy::MinimumExpanding</enum>
481 </property>
482 <property name="sizeHint" stdset="0">
483 <size>
484 <width>20</width>
485 <height>2</height>
486 </size>
487 </property>
488 </spacer>
489 </item>
490 <item>
491 <widget class="QGroupBox" name="gvThrottleCurve2GroupBox">
492 <property name="sizePolicy">
493 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
494 <horstretch>0</horstretch>
495 <verstretch>0</verstretch>
496 </sizepolicy>
497 </property>
498 <property name="maximumSize">
499 <size>
500 <width>280</width>
501 <height>280</height>
502 </size>
503 </property>
504 <property name="title">
505 <string>Rear throttle curve</string>
506 </property>
507 <layout class="QVBoxLayout" name="verticalLayout_37">
508 <item>
509 <widget class="MixerCurve" name="groundVehicleThrottle2" native="true">
510 <property name="sizePolicy">
511 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
512 <horstretch>0</horstretch>
513 <verstretch>0</verstretch>
514 </sizepolicy>
515 </property>
516 <property name="minimumSize">
517 <size>
518 <width>0</width>
519 <height>0</height>
520 </size>
521 </property>
522 <property name="maximumSize">
523 <size>
524 <width>16777215</width>
525 <height>16777215</height>
526 </size>
527 </property>
528 <property name="sizeIncrement">
529 <size>
530 <width>0</width>
531 <height>0</height>
532 </size>
533 </property>
534 <property name="baseSize">
535 <size>
536 <width>0</width>
537 <height>0</height>
538 </size>
539 </property>
540 </widget>
541 </item>
542 </layout>
543 </widget>
544 </item>
545 </layout>
546 </item>
547 </layout>
548 </item>
549 <item>
550 <layout class="QGridLayout" name="gridLayout">
551 <property name="sizeConstraint">
552 <enum>QLayout::SetDefaultConstraint</enum>
553 </property>
554 <property name="rightMargin">
555 <number>0</number>
556 </property>
557 </layout>
558 </item>
559 <item>
560 <layout class="QHBoxLayout" name="horizontalLayout_28">
561 <item>
562 <spacer name="horizontalSpacer_21">
563 <property name="orientation">
564 <enum>Qt::Horizontal</enum>
565 </property>
566 <property name="sizeHint" stdset="0">
567 <size>
568 <width>40</width>
569 <height>20</height>
570 </size>
571 </property>
572 </spacer>
573 </item>
574 <item>
575 <widget class="QLabel" name="gvStatusLabel">
576 <property name="font">
577 <font>
578 <weight>75</weight>
579 <bold>true</bold>
580 </font>
581 </property>
582 <property name="text">
583 <string>Mixer OK</string>
584 </property>
585 </widget>
586 </item>
587 </layout>
588 </item>
589 </layout>
590 </widget>
591 <customwidgets>
592 <customwidget>
593 <class>MixerCurve</class>
594 <extends>QWidget</extends>
595 <header location="global">mixercurve.h</header>
596 <container>1</container>
597 </customwidget>
598 </customwidgets>
599 <resources>
600 <include location="../coreplugin/core.qrc"/>
601 </resources>
602 <connections>
603 <connection>
604 <sender>differentialSteeringSlider1</sender>
605 <signal>valueChanged(int)</signal>
606 <receiver>gvDiffSteering1Label</receiver>
607 <slot>setNum(int)</slot>
608 <hints>
609 <hint type="sourcelabel">
610 <x>124</x>
611 <y>126</y>
612 </hint>
613 <hint type="destinationlabel">
614 <x>315</x>
615 <y>391</y>
616 </hint>
617 </hints>
618 </connection>
619 <connection>
620 <sender>differentialSteeringSlider2</sender>
621 <signal>valueChanged(int)</signal>
622 <receiver>gvDiffSteering2Label</receiver>
623 <slot>setNum(int)</slot>
624 <hints>
625 <hint type="sourcelabel">
626 <x>124</x>
627 <y>126</y>
628 </hint>
629 <hint type="destinationlabel">
630 <x>390</x>
631 <y>391</y>
632 </hint>
633 </hints>
634 </connection>
635 </connections>
636 </ui>