1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>VehicleTemplateExportDialog
</class>
4 <widget class=
"QDialog" name=
"VehicleTemplateExportDialog">
5 <property name=
"windowModality">
6 <enum>Qt::ApplicationModal
</enum>
8 <property name=
"geometry">
16 <property name=
"minimumSize">
22 <property name=
"windowTitle">
23 <string>Vehicle Templates
</string>
25 <property name=
"sizeGripEnabled">
28 <property name=
"modal">
31 <layout class=
"QVBoxLayout" name=
"verticalLayout">
33 <widget class=
"QTabWidget" name=
"tabWidget">
34 <property name=
"currentIndex">
37 <widget class=
"QWidget" name=
"tab">
38 <attribute name=
"title">
39 <string>Export template
</string>
41 <layout class=
"QVBoxLayout" name=
"verticalLayout_5">
43 <widget class=
"QFrame" name=
"frame">
44 <property name=
"sizePolicy">
45 <sizepolicy hsizetype=
"Preferred" vsizetype=
"MinimumExpanding">
46 <horstretch>0</horstretch>
47 <verstretch>0</verstretch>
50 <property name=
"frameShape">
51 <enum>QFrame::NoFrame
</enum>
53 <property name=
"frameShadow">
54 <enum>QFrame::Plain
</enum>
56 <layout class=
"QGridLayout" name=
"gridLayout">
57 <property name=
"leftMargin">
60 <property name=
"topMargin">
63 <property name=
"rightMargin">
66 <property name=
"bottomMargin">
69 <item row=
"6" column=
"2">
70 <widget class=
"QLabel" name=
"label_9">
71 <property name=
"text">
72 <string>Weight:
</string>
76 <item row=
"11" column=
"1">
77 <widget class=
"QLineEdit" name=
"Propeller">
78 <property name=
"placeholderText">
79 <string>Size and angle
</string>
83 <item row=
"10" column=
"2">
84 <widget class=
"QLabel" name=
"label_11">
85 <property name=
"text">
86 <string>Battery:
</string>
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>
97 <item row=
"8" column=
"0">
98 <widget class=
"QLabel" name=
"label_6">
99 <property name=
"text">
100 <string>Motor:
</string>
104 <item row=
"2" column=
"0">
105 <widget class=
"QLabel" name=
"label">
106 <property name=
"text">
107 <string>Name:
</string>
111 <item row=
"10" column=
"0">
112 <widget class=
"QLabel" name=
"label_8">
113 <property name=
"text">
114 <string>Servo:
</string>
118 <item row=
"10" column=
"1">
119 <widget class=
"QLineEdit" name=
"Servo">
120 <property name=
"placeholderText">
121 <string>Brand and name
</string>
125 <item row=
"4" column=
"1">
126 <widget class=
"QLineEdit" name=
"Owner">
127 <property name=
"placeholderText">
128 <string>Your name
</string>
132 <item row=
"11" column=
"0">
133 <widget class=
"QLabel" name=
"label_12">
134 <property name=
"text">
135 <string>Propeller:
</string>
139 <item row=
"4" column=
"2">
140 <widget class=
"QLabel" name=
"label_10">
141 <property name=
"text">
142 <string>Forum name:
</string>
146 <item row=
"5" column=
"0" colspan=
"5">
147 <widget class=
"Line" name=
"line">
148 <property name=
"orientation">
149 <enum>Qt::Horizontal
</enum>
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>
160 <item row=
"4" column=
"0">
161 <widget class=
"QLabel" name=
"label_2">
162 <property name=
"text">
163 <string>Owner:
</string>
167 <item row=
"8" column=
"1">
168 <widget class=
"QLineEdit" name=
"Motor">
169 <property name=
"placeholderText">
170 <string>Brand, size and Kv
</string>
174 <item row=
"6" column=
"0">
175 <widget class=
"QLabel" name=
"label_5">
176 <property name=
"text">
177 <string>Size:
</string>
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>
188 <item row=
"11" column=
"2">
189 <widget class=
"QLabel" name=
"label_14">
190 <property name=
"text">
191 <string>Controller:
</string>
195 <item row=
"1" column=
"1" colspan=
"4">
196 <widget class=
"QLineEdit" name=
"Type">
197 <property name=
"autoFillBackground">
200 <property name=
"styleSheet">
201 <string notr=
"true">background-color: rgba(
255,
255,
255,
0);
</string>
203 <property name=
"frame">
206 <property name=
"readOnly">
211 <item row=
"8" column=
"2">
212 <widget class=
"QLabel" name=
"label_7">
213 <property name=
"text">
214 <string>ESC:
</string>
218 <item row=
"11" column=
"3" colspan=
"2">
219 <widget class=
"QComboBox" name=
"Controllers">
221 <property name=
"text">
222 <string>None
</string>
226 <property name=
"text">
231 <property name=
"text">
232 <string>CC3D
</string>
236 <property name=
"text">
237 <string>Atom
</string>
241 <property name=
"text">
242 <string>Revolution
</string>
246 <property name=
"text">
247 <string>Nano
</string>
251 <property name=
"text">
252 <string>Sparky2
</string>
257 <item row=
"1" column=
"0">
258 <widget class=
"QLabel" name=
"label_3">
259 <property name=
"text">
260 <string>Type:
</string>
264 <item row=
"4" column=
"3" colspan=
"2">
265 <widget class=
"QLineEdit" name=
"ForumNick">
266 <property name=
"placeholderText">
267 <string>Forum nickname
</string>
271 <item row=
"8" column=
"3" colspan=
"2">
272 <widget class=
"QLineEdit" name=
"Esc">
273 <property name=
"placeholderText">
274 <string>Brand and name
</string>
278 <item row=
"6" column=
"3" colspan=
"2">
279 <widget class=
"QLineEdit" name=
"Weight">
280 <property name=
"placeholderText">
281 <string>Weight in grams
</string>
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>
296 <property name=
"minimumSize">
302 <property name=
"frameShape">
303 <enum>QFrame::NoFrame
</enum>
305 <property name=
"frameShadow">
306 <enum>QFrame::Raised
</enum>
308 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
309 <property name=
"leftMargin">
312 <property name=
"topMargin">
315 <property name=
"rightMargin">
318 <property name=
"bottomMargin">
322 <widget class=
"QFrame" name=
"frame_3">
323 <property name=
"frameShape">
324 <enum>QFrame::NoFrame
</enum>
326 <property name=
"frameShadow">
327 <enum>QFrame::Raised
</enum>
329 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
330 <property name=
"leftMargin">
333 <property name=
"topMargin">
336 <property name=
"rightMargin">
339 <property name=
"bottomMargin">
342 <item alignment=
"Qt::AlignTop">
343 <widget class=
"QLabel" name=
"label_13">
344 <property name=
"text">
345 <string>Comment:
</string>
350 <widget class=
"QTextEdit" name=
"Comment">
351 <property name=
"sizePolicy">
352 <sizepolicy hsizetype=
"Preferred" vsizetype=
"MinimumExpanding">
353 <horstretch>0</horstretch>
354 <verstretch>0</verstretch>
357 <property name=
"minimumSize">
363 <property name=
"verticalScrollBarPolicy">
364 <enum>Qt::ScrollBarAlwaysOn
</enum>
366 <property name=
"horizontalScrollBarPolicy">
367 <enum>Qt::ScrollBarAlwaysOff
</enum>
369 <property name=
"placeholderText">
370 <string>Put comments here that don't fit in the categories above
</string>
378 <widget class=
"QFrame" name=
"frame_4">
379 <property name=
"frameShape">
380 <enum>QFrame::NoFrame
</enum>
382 <property name=
"frameShadow">
383 <enum>QFrame::Raised
</enum>
385 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
386 <property name=
"leftMargin">
389 <property name=
"topMargin">
392 <property name=
"rightMargin">
395 <property name=
"bottomMargin">
399 <widget class=
"QLabel" name=
"label_4">
400 <property name=
"text">
401 <string>Photo:
</string>
406 <widget class=
"QGraphicsView" name=
"Photo">
407 <property name=
"sizePolicy">
408 <sizepolicy hsizetype=
"Expanding" vsizetype=
"MinimumExpanding">
409 <horstretch>0</horstretch>
410 <verstretch>0</verstretch>
413 <property name=
"styleSheet">
414 <string notr=
"true">background-color: rgba(
254,
254,
254,
0);
</string>
416 <property name=
"frameShape">
417 <enum>QFrame::NoFrame
</enum>
419 <property name=
"frameShadow">
420 <enum>QFrame::Sunken
</enum>
422 <property name=
"backgroundBrush">
423 <brush brushstyle=
"NoBrush">
431 <property name=
"interactive">
434 <property name=
"alignment">
435 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
</set>
440 <widget class=
"QFrame" name=
"frame_7">
441 <property name=
"frameShape">
442 <enum>QFrame::NoFrame
</enum>
444 <property name=
"frameShadow">
445 <enum>QFrame::Raised
</enum>
447 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
448 <property name=
"leftMargin">
451 <property name=
"topMargin">
454 <property name=
"rightMargin">
457 <property name=
"bottomMargin">
461 <widget class=
"QLabel" name=
"label_15">
462 <property name=
"font">
464 <pointsize>8</pointsize>
467 <property name=
"text">
468 <string>Photo will be scaled to
500x500px
</string>
473 <widget class=
"QPushButton" name=
"ImportButton">
474 <property name=
"text">
475 <string>Select Image...
</string>
486 <zorder>frame_4
</zorder>
487 <zorder>frame_3
</zorder>
491 <widget class=
"QFrame" name=
"frame_5">
492 <property name=
"frameShape">
493 <enum>QFrame::NoFrame
</enum>
495 <property name=
"frameShadow">
496 <enum>QFrame::Raised
</enum>
498 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
499 <property name=
"leftMargin">
502 <property name=
"topMargin">
505 <property name=
"rightMargin">
508 <property name=
"bottomMargin">
512 <spacer name=
"horizontalSpacer">
513 <property name=
"orientation">
514 <enum>Qt::Horizontal
</enum>
516 <property name=
"sizeHint" stdset=
"0">
525 <widget class=
"QPushButton" name=
"cancelBtn">
526 <property name=
"text">
527 <string>Close
</string>
532 <widget class=
"QPushButton" name=
"saveAsBtn">
533 <property name=
"enabled">
536 <property name=
"text">
537 <string>Save as
</string>
539 <property name=
"autoDefault">
545 <widget class=
"QPushButton" name=
"exportBtn">
546 <property name=
"enabled">
549 <property name=
"text">
550 <string>Export
</string>
552 <property name=
"autoDefault">
562 <widget class=
"QWidget" name=
"tab_2">
563 <attribute name=
"title">
564 <string>Import template
</string>
566 <layout class=
"QVBoxLayout" name=
"verticalLayout_6">
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>
578 <widget class=
"QFrame" name=
"frame_8">
579 <property name=
"frameShape">
580 <enum>QFrame::NoFrame
</enum>
582 <property name=
"frameShadow">
583 <enum>QFrame::Raised
</enum>
585 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
586 <property name=
"leftMargin">
589 <property name=
"topMargin">
592 <property name=
"rightMargin">
595 <property name=
"bottomMargin">
599 <spacer name=
"horizontalSpacer_2">
600 <property name=
"orientation">
601 <enum>Qt::Horizontal
</enum>
603 <property name=
"sizeHint" stdset=
"0">
612 <widget class=
"QPushButton" name=
"cancelBtn_2">
613 <property name=
"text">
614 <string>Close
</string>
619 <widget class=
"QPushButton" name=
"importBtn">
620 <property name=
"enabled">
623 <property name=
"text">
624 <string>Import
</string>
626 <property name=
"checkable">
629 <property name=
"autoDefault">
645 <class>VehicleTemplateSelectorWidget
</class>
646 <extends>QWidget
</extends>
647 <header>vehicletemplateselectorwidget.h
</header>
648 <container>1</container>
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>