LP-106 Setup Wizard refresh : Add dual servo setup (dual aileron or
[librepilot.git] / ground / gcs / src / plugins / setupwizard / vehicletemplateexportdialog.ui
blobd2069645c81a0028b64cab83e542f3fcd4767802
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>VehicleTemplateExportDialog</class>
4 <widget class="QDialog" name="VehicleTemplateExportDialog">
5 <property name="windowModality">
6 <enum>Qt::ApplicationModal</enum>
7 </property>
8 <property name="geometry">
9 <rect>
10 <x>0</x>
11 <y>0</y>
12 <width>610</width>
13 <height>700</height>
14 </rect>
15 </property>
16 <property name="minimumSize">
17 <size>
18 <width>610</width>
19 <height>700</height>
20 </size>
21 </property>
22 <property name="windowTitle">
23 <string>Vehicle Templates</string>
24 </property>
25 <property name="sizeGripEnabled">
26 <bool>true</bool>
27 </property>
28 <property name="modal">
29 <bool>true</bool>
30 </property>
31 <layout class="QVBoxLayout" name="verticalLayout">
32 <item>
33 <widget class="QTabWidget" name="tabWidget">
34 <property name="currentIndex">
35 <number>0</number>
36 </property>
37 <widget class="QWidget" name="tab">
38 <attribute name="title">
39 <string>Export template</string>
40 </attribute>
41 <layout class="QVBoxLayout" name="verticalLayout_5">
42 <item>
43 <widget class="QFrame" name="frame">
44 <property name="sizePolicy">
45 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
46 <horstretch>0</horstretch>
47 <verstretch>0</verstretch>
48 </sizepolicy>
49 </property>
50 <property name="frameShape">
51 <enum>QFrame::NoFrame</enum>
52 </property>
53 <property name="frameShadow">
54 <enum>QFrame::Plain</enum>
55 </property>
56 <layout class="QGridLayout" name="gridLayout">
57 <property name="leftMargin">
58 <number>0</number>
59 </property>
60 <property name="topMargin">
61 <number>0</number>
62 </property>
63 <property name="rightMargin">
64 <number>0</number>
65 </property>
66 <property name="bottomMargin">
67 <number>0</number>
68 </property>
69 <item row="6" column="2">
70 <widget class="QLabel" name="label_9">
71 <property name="text">
72 <string>Weight:</string>
73 </property>
74 </widget>
75 </item>
76 <item row="11" column="1">
77 <widget class="QLineEdit" name="Propeller">
78 <property name="placeholderText">
79 <string>Size and angle</string>
80 </property>
81 </widget>
82 </item>
83 <item row="10" column="2">
84 <widget class="QLabel" name="label_11">
85 <property name="text">
86 <string>Battery:</string>
87 </property>
88 </widget>
89 </item>
90 <item row="6" column="1">
91 <widget class="QLineEdit" name="Size">
92 <property name="placeholderText">
93 <string>Size of the vehicle in mm</string>
94 </property>
95 </widget>
96 </item>
97 <item row="8" column="0">
98 <widget class="QLabel" name="label_6">
99 <property name="text">
100 <string>Motor:</string>
101 </property>
102 </widget>
103 </item>
104 <item row="2" column="0">
105 <widget class="QLabel" name="label">
106 <property name="text">
107 <string>Name:</string>
108 </property>
109 </widget>
110 </item>
111 <item row="10" column="0">
112 <widget class="QLabel" name="label_8">
113 <property name="text">
114 <string>Servo:</string>
115 </property>
116 </widget>
117 </item>
118 <item row="10" column="1">
119 <widget class="QLineEdit" name="Servo">
120 <property name="placeholderText">
121 <string>Brand and name</string>
122 </property>
123 </widget>
124 </item>
125 <item row="4" column="1">
126 <widget class="QLineEdit" name="Owner">
127 <property name="placeholderText">
128 <string>Your name</string>
129 </property>
130 </widget>
131 </item>
132 <item row="11" column="0">
133 <widget class="QLabel" name="label_12">
134 <property name="text">
135 <string>Propeller:</string>
136 </property>
137 </widget>
138 </item>
139 <item row="4" column="2">
140 <widget class="QLabel" name="label_10">
141 <property name="text">
142 <string>Forum name:</string>
143 </property>
144 </widget>
145 </item>
146 <item row="5" column="0" colspan="5">
147 <widget class="Line" name="line">
148 <property name="orientation">
149 <enum>Qt::Horizontal</enum>
150 </property>
151 </widget>
152 </item>
153 <item row="2" column="1" colspan="4">
154 <widget class="QLineEdit" name="Name">
155 <property name="placeholderText">
156 <string>The name of the vehicle, brand etc</string>
157 </property>
158 </widget>
159 </item>
160 <item row="4" column="0">
161 <widget class="QLabel" name="label_2">
162 <property name="text">
163 <string>Owner:</string>
164 </property>
165 </widget>
166 </item>
167 <item row="8" column="1">
168 <widget class="QLineEdit" name="Motor">
169 <property name="placeholderText">
170 <string>Brand, size and Kv</string>
171 </property>
172 </widget>
173 </item>
174 <item row="6" column="0">
175 <widget class="QLabel" name="label_5">
176 <property name="text">
177 <string>Size:</string>
178 </property>
179 </widget>
180 </item>
181 <item row="10" column="3" colspan="2">
182 <widget class="QLineEdit" name="Battery">
183 <property name="placeholderText">
184 <string>How many cells etc?</string>
185 </property>
186 </widget>
187 </item>
188 <item row="11" column="2">
189 <widget class="QLabel" name="label_14">
190 <property name="text">
191 <string>Controller:</string>
192 </property>
193 </widget>
194 </item>
195 <item row="1" column="1" colspan="4">
196 <widget class="QLineEdit" name="Type">
197 <property name="autoFillBackground">
198 <bool>false</bool>
199 </property>
200 <property name="styleSheet">
201 <string notr="true">background-color: rgba(255, 255, 255, 0);</string>
202 </property>
203 <property name="frame">
204 <bool>false</bool>
205 </property>
206 <property name="readOnly">
207 <bool>true</bool>
208 </property>
209 </widget>
210 </item>
211 <item row="8" column="2">
212 <widget class="QLabel" name="label_7">
213 <property name="text">
214 <string>ESC:</string>
215 </property>
216 </widget>
217 </item>
218 <item row="11" column="3" colspan="2">
219 <widget class="QComboBox" name="Controllers">
220 <item>
221 <property name="text">
222 <string>None</string>
223 </property>
224 </item>
225 <item>
226 <property name="text">
227 <string>CC</string>
228 </property>
229 </item>
230 <item>
231 <property name="text">
232 <string>CC3D</string>
233 </property>
234 </item>
235 <item>
236 <property name="text">
237 <string>Atom</string>
238 </property>
239 </item>
240 <item>
241 <property name="text">
242 <string>Revolution</string>
243 </property>
244 </item>
245 <item>
246 <property name="text">
247 <string>Nano</string>
248 </property>
249 </item>
250 </widget>
251 </item>
252 <item row="1" column="0">
253 <widget class="QLabel" name="label_3">
254 <property name="text">
255 <string>Type:</string>
256 </property>
257 </widget>
258 </item>
259 <item row="4" column="3" colspan="2">
260 <widget class="QLineEdit" name="ForumNick">
261 <property name="placeholderText">
262 <string>Forum nickname</string>
263 </property>
264 </widget>
265 </item>
266 <item row="8" column="3" colspan="2">
267 <widget class="QLineEdit" name="Esc">
268 <property name="placeholderText">
269 <string>Brand and name</string>
270 </property>
271 </widget>
272 </item>
273 <item row="6" column="3" colspan="2">
274 <widget class="QLineEdit" name="Weight">
275 <property name="placeholderText">
276 <string>Weight in grams</string>
277 </property>
278 </widget>
279 </item>
280 </layout>
281 </widget>
282 </item>
283 <item>
284 <widget class="QFrame" name="frame_6">
285 <property name="frameShape">
286 <enum>QFrame::NoFrame</enum>
287 </property>
288 <property name="frameShadow">
289 <enum>QFrame::Raised</enum>
290 </property>
291 <layout class="QHBoxLayout" name="horizontalLayout_2">
292 <property name="leftMargin">
293 <number>0</number>
294 </property>
295 <property name="topMargin">
296 <number>0</number>
297 </property>
298 <property name="rightMargin">
299 <number>0</number>
300 </property>
301 <property name="bottomMargin">
302 <number>0</number>
303 </property>
304 <item>
305 <widget class="QFrame" name="frame_3">
306 <property name="frameShape">
307 <enum>QFrame::NoFrame</enum>
308 </property>
309 <property name="frameShadow">
310 <enum>QFrame::Raised</enum>
311 </property>
312 <layout class="QVBoxLayout" name="verticalLayout_3">
313 <property name="leftMargin">
314 <number>0</number>
315 </property>
316 <property name="topMargin">
317 <number>0</number>
318 </property>
319 <property name="rightMargin">
320 <number>0</number>
321 </property>
322 <property name="bottomMargin">
323 <number>0</number>
324 </property>
325 <item alignment="Qt::AlignTop">
326 <widget class="QLabel" name="label_13">
327 <property name="text">
328 <string>Comment:</string>
329 </property>
330 </widget>
331 </item>
332 <item>
333 <widget class="QTextEdit" name="Comment">
334 <property name="sizePolicy">
335 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
336 <horstretch>0</horstretch>
337 <verstretch>0</verstretch>
338 </sizepolicy>
339 </property>
340 <property name="verticalScrollBarPolicy">
341 <enum>Qt::ScrollBarAlwaysOn</enum>
342 </property>
343 <property name="horizontalScrollBarPolicy">
344 <enum>Qt::ScrollBarAlwaysOff</enum>
345 </property>
346 <property name="placeholderText">
347 <string>Put comments here that don't fit in the categories above</string>
348 </property>
349 </widget>
350 </item>
351 </layout>
352 </widget>
353 </item>
354 <item>
355 <widget class="QFrame" name="frame_4">
356 <property name="frameShape">
357 <enum>QFrame::NoFrame</enum>
358 </property>
359 <property name="frameShadow">
360 <enum>QFrame::Raised</enum>
361 </property>
362 <layout class="QVBoxLayout" name="verticalLayout_4">
363 <property name="leftMargin">
364 <number>0</number>
365 </property>
366 <property name="topMargin">
367 <number>0</number>
368 </property>
369 <property name="rightMargin">
370 <number>0</number>
371 </property>
372 <property name="bottomMargin">
373 <number>0</number>
374 </property>
375 <item>
376 <widget class="QLabel" name="label_4">
377 <property name="text">
378 <string>Photo:</string>
379 </property>
380 </widget>
381 </item>
382 <item>
383 <widget class="QGraphicsView" name="Photo">
384 <property name="sizePolicy">
385 <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
386 <horstretch>0</horstretch>
387 <verstretch>0</verstretch>
388 </sizepolicy>
389 </property>
390 <property name="styleSheet">
391 <string notr="true">background-color: rgba(254, 254, 254, 0);</string>
392 </property>
393 <property name="frameShape">
394 <enum>QFrame::NoFrame</enum>
395 </property>
396 <property name="frameShadow">
397 <enum>QFrame::Sunken</enum>
398 </property>
399 <property name="backgroundBrush">
400 <brush brushstyle="NoBrush">
401 <color alpha="255">
402 <red>0</red>
403 <green>0</green>
404 <blue>0</blue>
405 </color>
406 </brush>
407 </property>
408 <property name="interactive">
409 <bool>false</bool>
410 </property>
411 <property name="alignment">
412 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
413 </property>
414 </widget>
415 </item>
416 <item>
417 <widget class="QFrame" name="frame_7">
418 <property name="frameShape">
419 <enum>QFrame::NoFrame</enum>
420 </property>
421 <property name="frameShadow">
422 <enum>QFrame::Raised</enum>
423 </property>
424 <layout class="QHBoxLayout" name="horizontalLayout_3">
425 <property name="leftMargin">
426 <number>0</number>
427 </property>
428 <property name="topMargin">
429 <number>0</number>
430 </property>
431 <property name="rightMargin">
432 <number>0</number>
433 </property>
434 <property name="bottomMargin">
435 <number>0</number>
436 </property>
437 <item>
438 <widget class="QLabel" name="label_15">
439 <property name="font">
440 <font>
441 <pointsize>8</pointsize>
442 </font>
443 </property>
444 <property name="text">
445 <string>Photo will be scaled to 500x500px</string>
446 </property>
447 </widget>
448 </item>
449 <item>
450 <widget class="QPushButton" name="ImportButton">
451 <property name="text">
452 <string>Select Image...</string>
453 </property>
454 </widget>
455 </item>
456 </layout>
457 </widget>
458 </item>
459 </layout>
460 </widget>
461 </item>
462 </layout>
463 <zorder>frame_4</zorder>
464 <zorder>frame_3</zorder>
465 </widget>
466 </item>
467 <item>
468 <widget class="QFrame" name="frame_5">
469 <property name="frameShape">
470 <enum>QFrame::NoFrame</enum>
471 </property>
472 <property name="frameShadow">
473 <enum>QFrame::Raised</enum>
474 </property>
475 <layout class="QHBoxLayout" name="horizontalLayout">
476 <property name="leftMargin">
477 <number>0</number>
478 </property>
479 <property name="topMargin">
480 <number>0</number>
481 </property>
482 <property name="rightMargin">
483 <number>0</number>
484 </property>
485 <property name="bottomMargin">
486 <number>0</number>
487 </property>
488 <item>
489 <spacer name="horizontalSpacer">
490 <property name="orientation">
491 <enum>Qt::Horizontal</enum>
492 </property>
493 <property name="sizeHint" stdset="0">
494 <size>
495 <width>40</width>
496 <height>20</height>
497 </size>
498 </property>
499 </spacer>
500 </item>
501 <item>
502 <widget class="QPushButton" name="cancelBtn">
503 <property name="text">
504 <string>Close</string>
505 </property>
506 </widget>
507 </item>
508 <item>
509 <widget class="QPushButton" name="saveAsBtn">
510 <property name="enabled">
511 <bool>false</bool>
512 </property>
513 <property name="text">
514 <string>Save as</string>
515 </property>
516 <property name="autoDefault">
517 <bool>false</bool>
518 </property>
519 </widget>
520 </item>
521 <item>
522 <widget class="QPushButton" name="exportBtn">
523 <property name="enabled">
524 <bool>false</bool>
525 </property>
526 <property name="text">
527 <string>Export</string>
528 </property>
529 <property name="autoDefault">
530 <bool>false</bool>
531 </property>
532 </widget>
533 </item>
534 </layout>
535 </widget>
536 </item>
537 </layout>
538 </widget>
539 <widget class="QWidget" name="tab_2">
540 <attribute name="title">
541 <string>Import template</string>
542 </attribute>
543 <layout class="QVBoxLayout" name="verticalLayout_6">
544 <item>
545 <widget class="VehicleTemplateSelectorWidget" name="selectionWidget" native="true">
546 <property name="sizePolicy">
547 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
548 <horstretch>0</horstretch>
549 <verstretch>0</verstretch>
550 </sizepolicy>
551 </property>
552 </widget>
553 </item>
554 <item>
555 <widget class="QFrame" name="frame_8">
556 <property name="frameShape">
557 <enum>QFrame::NoFrame</enum>
558 </property>
559 <property name="frameShadow">
560 <enum>QFrame::Raised</enum>
561 </property>
562 <layout class="QHBoxLayout" name="horizontalLayout_4">
563 <property name="leftMargin">
564 <number>0</number>
565 </property>
566 <property name="topMargin">
567 <number>0</number>
568 </property>
569 <property name="rightMargin">
570 <number>0</number>
571 </property>
572 <property name="bottomMargin">
573 <number>0</number>
574 </property>
575 <item>
576 <spacer name="horizontalSpacer_2">
577 <property name="orientation">
578 <enum>Qt::Horizontal</enum>
579 </property>
580 <property name="sizeHint" stdset="0">
581 <size>
582 <width>40</width>
583 <height>20</height>
584 </size>
585 </property>
586 </spacer>
587 </item>
588 <item>
589 <widget class="QPushButton" name="cancelBtn_2">
590 <property name="text">
591 <string>Close</string>
592 </property>
593 </widget>
594 </item>
595 <item>
596 <widget class="QPushButton" name="importBtn">
597 <property name="enabled">
598 <bool>false</bool>
599 </property>
600 <property name="text">
601 <string>Import</string>
602 </property>
603 <property name="checkable">
604 <bool>false</bool>
605 </property>
606 <property name="autoDefault">
607 <bool>false</bool>
608 </property>
609 </widget>
610 </item>
611 </layout>
612 </widget>
613 </item>
614 </layout>
615 </widget>
616 </widget>
617 </item>
618 <item>
619 <widget class="QFrame" name="frame_2">
620 <property name="frameShape">
621 <enum>QFrame::NoFrame</enum>
622 </property>
623 <property name="frameShadow">
624 <enum>QFrame::Raised</enum>
625 </property>
626 <layout class="QVBoxLayout" name="verticalLayout_2">
627 <property name="leftMargin">
628 <number>0</number>
629 </property>
630 <property name="topMargin">
631 <number>0</number>
632 </property>
633 <property name="rightMargin">
634 <number>0</number>
635 </property>
636 <property name="bottomMargin">
637 <number>0</number>
638 </property>
639 </layout>
640 </widget>
641 </item>
642 </layout>
643 </widget>
644 <customwidgets>
645 <customwidget>
646 <class>VehicleTemplateSelectorWidget</class>
647 <extends>QWidget</extends>
648 <header>vehicletemplateselectorwidget.h</header>
649 <container>1</container>
650 </customwidget>
651 </customwidgets>
652 <tabstops>
653 <tabstop>Type</tabstop>
654 <tabstop>Name</tabstop>
655 <tabstop>Owner</tabstop>
656 <tabstop>ForumNick</tabstop>
657 <tabstop>Size</tabstop>
658 <tabstop>Weight</tabstop>
659 <tabstop>Motor</tabstop>
660 <tabstop>Esc</tabstop>
661 <tabstop>Servo</tabstop>
662 <tabstop>Battery</tabstop>
663 <tabstop>Propeller</tabstop>
664 <tabstop>Controllers</tabstop>
665 <tabstop>Comment</tabstop>
666 <tabstop>ImportButton</tabstop>
667 <tabstop>exportBtn</tabstop>
668 <tabstop>cancelBtn</tabstop>
669 <tabstop>Photo</tabstop>
670 </tabstops>
671 <resources/>
672 <connections/>
673 </ui>