Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / setupwizard / vehicletemplateexportdialog.ui
blobdacb84f15ae833dc4436e3b380e31b4a04d07310
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>600</width>
13 <height>560</height>
14 </rect>
15 </property>
16 <property name="minimumSize">
17 <size>
18 <width>600</width>
19 <height>560</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 <item>
251 <property name="text">
252 <string>Sparky2</string>
253 </property>
254 </item>
255 </widget>
256 </item>
257 <item row="1" column="0">
258 <widget class="QLabel" name="label_3">
259 <property name="text">
260 <string>Type:</string>
261 </property>
262 </widget>
263 </item>
264 <item row="4" column="3" colspan="2">
265 <widget class="QLineEdit" name="ForumNick">
266 <property name="placeholderText">
267 <string>Forum nickname</string>
268 </property>
269 </widget>
270 </item>
271 <item row="8" column="3" colspan="2">
272 <widget class="QLineEdit" name="Esc">
273 <property name="placeholderText">
274 <string>Brand and name</string>
275 </property>
276 </widget>
277 </item>
278 <item row="6" column="3" colspan="2">
279 <widget class="QLineEdit" name="Weight">
280 <property name="placeholderText">
281 <string>Weight in grams</string>
282 </property>
283 </widget>
284 </item>
285 </layout>
286 </widget>
287 </item>
288 <item>
289 <widget class="QFrame" name="frame_6">
290 <property name="sizePolicy">
291 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
292 <horstretch>0</horstretch>
293 <verstretch>0</verstretch>
294 </sizepolicy>
295 </property>
296 <property name="minimumSize">
297 <size>
298 <width>0</width>
299 <height>0</height>
300 </size>
301 </property>
302 <property name="frameShape">
303 <enum>QFrame::NoFrame</enum>
304 </property>
305 <property name="frameShadow">
306 <enum>QFrame::Raised</enum>
307 </property>
308 <layout class="QHBoxLayout" name="horizontalLayout_2">
309 <property name="leftMargin">
310 <number>0</number>
311 </property>
312 <property name="topMargin">
313 <number>0</number>
314 </property>
315 <property name="rightMargin">
316 <number>0</number>
317 </property>
318 <property name="bottomMargin">
319 <number>0</number>
320 </property>
321 <item>
322 <widget class="QFrame" name="frame_3">
323 <property name="frameShape">
324 <enum>QFrame::NoFrame</enum>
325 </property>
326 <property name="frameShadow">
327 <enum>QFrame::Raised</enum>
328 </property>
329 <layout class="QVBoxLayout" name="verticalLayout_3">
330 <property name="leftMargin">
331 <number>0</number>
332 </property>
333 <property name="topMargin">
334 <number>0</number>
335 </property>
336 <property name="rightMargin">
337 <number>0</number>
338 </property>
339 <property name="bottomMargin">
340 <number>0</number>
341 </property>
342 <item alignment="Qt::AlignTop">
343 <widget class="QLabel" name="label_13">
344 <property name="text">
345 <string>Comment:</string>
346 </property>
347 </widget>
348 </item>
349 <item>
350 <widget class="QTextEdit" name="Comment">
351 <property name="sizePolicy">
352 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
353 <horstretch>0</horstretch>
354 <verstretch>0</verstretch>
355 </sizepolicy>
356 </property>
357 <property name="minimumSize">
358 <size>
359 <width>0</width>
360 <height>0</height>
361 </size>
362 </property>
363 <property name="verticalScrollBarPolicy">
364 <enum>Qt::ScrollBarAlwaysOn</enum>
365 </property>
366 <property name="horizontalScrollBarPolicy">
367 <enum>Qt::ScrollBarAlwaysOff</enum>
368 </property>
369 <property name="placeholderText">
370 <string>Put comments here that don't fit in the categories above</string>
371 </property>
372 </widget>
373 </item>
374 </layout>
375 </widget>
376 </item>
377 <item>
378 <widget class="QFrame" name="frame_4">
379 <property name="frameShape">
380 <enum>QFrame::NoFrame</enum>
381 </property>
382 <property name="frameShadow">
383 <enum>QFrame::Raised</enum>
384 </property>
385 <layout class="QVBoxLayout" name="verticalLayout_4">
386 <property name="leftMargin">
387 <number>0</number>
388 </property>
389 <property name="topMargin">
390 <number>0</number>
391 </property>
392 <property name="rightMargin">
393 <number>0</number>
394 </property>
395 <property name="bottomMargin">
396 <number>0</number>
397 </property>
398 <item>
399 <widget class="QLabel" name="label_4">
400 <property name="text">
401 <string>Photo:</string>
402 </property>
403 </widget>
404 </item>
405 <item>
406 <widget class="QGraphicsView" name="Photo">
407 <property name="sizePolicy">
408 <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
409 <horstretch>0</horstretch>
410 <verstretch>0</verstretch>
411 </sizepolicy>
412 </property>
413 <property name="styleSheet">
414 <string notr="true">background-color: rgba(254, 254, 254, 0);</string>
415 </property>
416 <property name="frameShape">
417 <enum>QFrame::NoFrame</enum>
418 </property>
419 <property name="frameShadow">
420 <enum>QFrame::Sunken</enum>
421 </property>
422 <property name="backgroundBrush">
423 <brush brushstyle="NoBrush">
424 <color alpha="255">
425 <red>0</red>
426 <green>0</green>
427 <blue>0</blue>
428 </color>
429 </brush>
430 </property>
431 <property name="interactive">
432 <bool>false</bool>
433 </property>
434 <property name="alignment">
435 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
436 </property>
437 </widget>
438 </item>
439 <item>
440 <widget class="QFrame" name="frame_7">
441 <property name="frameShape">
442 <enum>QFrame::NoFrame</enum>
443 </property>
444 <property name="frameShadow">
445 <enum>QFrame::Raised</enum>
446 </property>
447 <layout class="QHBoxLayout" name="horizontalLayout_3">
448 <property name="leftMargin">
449 <number>0</number>
450 </property>
451 <property name="topMargin">
452 <number>0</number>
453 </property>
454 <property name="rightMargin">
455 <number>0</number>
456 </property>
457 <property name="bottomMargin">
458 <number>0</number>
459 </property>
460 <item>
461 <widget class="QLabel" name="label_15">
462 <property name="font">
463 <font>
464 <pointsize>8</pointsize>
465 </font>
466 </property>
467 <property name="text">
468 <string>Photo will be scaled to 500x500px</string>
469 </property>
470 </widget>
471 </item>
472 <item>
473 <widget class="QPushButton" name="ImportButton">
474 <property name="text">
475 <string>Select Image...</string>
476 </property>
477 </widget>
478 </item>
479 </layout>
480 </widget>
481 </item>
482 </layout>
483 </widget>
484 </item>
485 </layout>
486 <zorder>frame_4</zorder>
487 <zorder>frame_3</zorder>
488 </widget>
489 </item>
490 <item>
491 <widget class="QFrame" name="frame_5">
492 <property name="frameShape">
493 <enum>QFrame::NoFrame</enum>
494 </property>
495 <property name="frameShadow">
496 <enum>QFrame::Raised</enum>
497 </property>
498 <layout class="QHBoxLayout" name="horizontalLayout">
499 <property name="leftMargin">
500 <number>0</number>
501 </property>
502 <property name="topMargin">
503 <number>0</number>
504 </property>
505 <property name="rightMargin">
506 <number>0</number>
507 </property>
508 <property name="bottomMargin">
509 <number>0</number>
510 </property>
511 <item>
512 <spacer name="horizontalSpacer">
513 <property name="orientation">
514 <enum>Qt::Horizontal</enum>
515 </property>
516 <property name="sizeHint" stdset="0">
517 <size>
518 <width>40</width>
519 <height>20</height>
520 </size>
521 </property>
522 </spacer>
523 </item>
524 <item>
525 <widget class="QPushButton" name="cancelBtn">
526 <property name="text">
527 <string>Close</string>
528 </property>
529 </widget>
530 </item>
531 <item>
532 <widget class="QPushButton" name="saveAsBtn">
533 <property name="enabled">
534 <bool>false</bool>
535 </property>
536 <property name="text">
537 <string>Save as</string>
538 </property>
539 <property name="autoDefault">
540 <bool>false</bool>
541 </property>
542 </widget>
543 </item>
544 <item>
545 <widget class="QPushButton" name="exportBtn">
546 <property name="enabled">
547 <bool>false</bool>
548 </property>
549 <property name="text">
550 <string>Export</string>
551 </property>
552 <property name="autoDefault">
553 <bool>false</bool>
554 </property>
555 </widget>
556 </item>
557 </layout>
558 </widget>
559 </item>
560 </layout>
561 </widget>
562 <widget class="QWidget" name="tab_2">
563 <attribute name="title">
564 <string>Import template</string>
565 </attribute>
566 <layout class="QVBoxLayout" name="verticalLayout_6">
567 <item>
568 <widget class="VehicleTemplateSelectorWidget" name="selectionWidget" native="true">
569 <property name="sizePolicy">
570 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
571 <horstretch>0</horstretch>
572 <verstretch>0</verstretch>
573 </sizepolicy>
574 </property>
575 </widget>
576 </item>
577 <item>
578 <widget class="QFrame" name="frame_8">
579 <property name="frameShape">
580 <enum>QFrame::NoFrame</enum>
581 </property>
582 <property name="frameShadow">
583 <enum>QFrame::Raised</enum>
584 </property>
585 <layout class="QHBoxLayout" name="horizontalLayout_4">
586 <property name="leftMargin">
587 <number>0</number>
588 </property>
589 <property name="topMargin">
590 <number>0</number>
591 </property>
592 <property name="rightMargin">
593 <number>0</number>
594 </property>
595 <property name="bottomMargin">
596 <number>0</number>
597 </property>
598 <item>
599 <spacer name="horizontalSpacer_2">
600 <property name="orientation">
601 <enum>Qt::Horizontal</enum>
602 </property>
603 <property name="sizeHint" stdset="0">
604 <size>
605 <width>40</width>
606 <height>20</height>
607 </size>
608 </property>
609 </spacer>
610 </item>
611 <item>
612 <widget class="QPushButton" name="cancelBtn_2">
613 <property name="text">
614 <string>Close</string>
615 </property>
616 </widget>
617 </item>
618 <item>
619 <widget class="QPushButton" name="importBtn">
620 <property name="enabled">
621 <bool>false</bool>
622 </property>
623 <property name="text">
624 <string>Import</string>
625 </property>
626 <property name="checkable">
627 <bool>false</bool>
628 </property>
629 <property name="autoDefault">
630 <bool>false</bool>
631 </property>
632 </widget>
633 </item>
634 </layout>
635 </widget>
636 </item>
637 </layout>
638 </widget>
639 </widget>
640 </item>
641 </layout>
642 </widget>
643 <customwidgets>
644 <customwidget>
645 <class>VehicleTemplateSelectorWidget</class>
646 <extends>QWidget</extends>
647 <header>vehicletemplateselectorwidget.h</header>
648 <container>1</container>
649 </customwidget>
650 </customwidgets>
651 <tabstops>
652 <tabstop>Type</tabstop>
653 <tabstop>Name</tabstop>
654 <tabstop>Owner</tabstop>
655 <tabstop>ForumNick</tabstop>
656 <tabstop>Size</tabstop>
657 <tabstop>Weight</tabstop>
658 <tabstop>Motor</tabstop>
659 <tabstop>Esc</tabstop>
660 <tabstop>Servo</tabstop>
661 <tabstop>Battery</tabstop>
662 <tabstop>Propeller</tabstop>
663 <tabstop>Controllers</tabstop>
664 <tabstop>Comment</tabstop>
665 <tabstop>ImportButton</tabstop>
666 <tabstop>exportBtn</tabstop>
667 <tabstop>cancelBtn</tabstop>
668 <tabstop>Photo</tabstop>
669 </tabstops>
670 <resources/>
671 <connections/>
672 </ui>