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>
252 <item row=
"1" column=
"0">
253 <widget class=
"QLabel" name=
"label_3">
254 <property name=
"text">
255 <string>Type:
</string>
259 <item row=
"4" column=
"3" colspan=
"2">
260 <widget class=
"QLineEdit" name=
"ForumNick">
261 <property name=
"placeholderText">
262 <string>Forum nickname
</string>
266 <item row=
"8" column=
"3" colspan=
"2">
267 <widget class=
"QLineEdit" name=
"Esc">
268 <property name=
"placeholderText">
269 <string>Brand and name
</string>
273 <item row=
"6" column=
"3" colspan=
"2">
274 <widget class=
"QLineEdit" name=
"Weight">
275 <property name=
"placeholderText">
276 <string>Weight in grams
</string>
284 <widget class=
"QFrame" name=
"frame_6">
285 <property name=
"frameShape">
286 <enum>QFrame::NoFrame
</enum>
288 <property name=
"frameShadow">
289 <enum>QFrame::Raised
</enum>
291 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
292 <property name=
"leftMargin">
295 <property name=
"topMargin">
298 <property name=
"rightMargin">
301 <property name=
"bottomMargin">
305 <widget class=
"QFrame" name=
"frame_3">
306 <property name=
"frameShape">
307 <enum>QFrame::NoFrame
</enum>
309 <property name=
"frameShadow">
310 <enum>QFrame::Raised
</enum>
312 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
313 <property name=
"leftMargin">
316 <property name=
"topMargin">
319 <property name=
"rightMargin">
322 <property name=
"bottomMargin">
325 <item alignment=
"Qt::AlignTop">
326 <widget class=
"QLabel" name=
"label_13">
327 <property name=
"text">
328 <string>Comment:
</string>
333 <widget class=
"QTextEdit" name=
"Comment">
334 <property name=
"sizePolicy">
335 <sizepolicy hsizetype=
"Preferred" vsizetype=
"MinimumExpanding">
336 <horstretch>0</horstretch>
337 <verstretch>0</verstretch>
340 <property name=
"verticalScrollBarPolicy">
341 <enum>Qt::ScrollBarAlwaysOn
</enum>
343 <property name=
"horizontalScrollBarPolicy">
344 <enum>Qt::ScrollBarAlwaysOff
</enum>
346 <property name=
"placeholderText">
347 <string>Put comments here that don't fit in the categories above
</string>
355 <widget class=
"QFrame" name=
"frame_4">
356 <property name=
"frameShape">
357 <enum>QFrame::NoFrame
</enum>
359 <property name=
"frameShadow">
360 <enum>QFrame::Raised
</enum>
362 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
363 <property name=
"leftMargin">
366 <property name=
"topMargin">
369 <property name=
"rightMargin">
372 <property name=
"bottomMargin">
376 <widget class=
"QLabel" name=
"label_4">
377 <property name=
"text">
378 <string>Photo:
</string>
383 <widget class=
"QGraphicsView" name=
"Photo">
384 <property name=
"sizePolicy">
385 <sizepolicy hsizetype=
"Expanding" vsizetype=
"MinimumExpanding">
386 <horstretch>0</horstretch>
387 <verstretch>0</verstretch>
390 <property name=
"styleSheet">
391 <string notr=
"true">background-color: rgba(
254,
254,
254,
0);
</string>
393 <property name=
"frameShape">
394 <enum>QFrame::NoFrame
</enum>
396 <property name=
"frameShadow">
397 <enum>QFrame::Sunken
</enum>
399 <property name=
"backgroundBrush">
400 <brush brushstyle=
"NoBrush">
408 <property name=
"interactive">
411 <property name=
"alignment">
412 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
</set>
417 <widget class=
"QFrame" name=
"frame_7">
418 <property name=
"frameShape">
419 <enum>QFrame::NoFrame
</enum>
421 <property name=
"frameShadow">
422 <enum>QFrame::Raised
</enum>
424 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
425 <property name=
"leftMargin">
428 <property name=
"topMargin">
431 <property name=
"rightMargin">
434 <property name=
"bottomMargin">
438 <widget class=
"QLabel" name=
"label_15">
439 <property name=
"font">
441 <pointsize>8</pointsize>
444 <property name=
"text">
445 <string>Photo will be scaled to
500x500px
</string>
450 <widget class=
"QPushButton" name=
"ImportButton">
451 <property name=
"text">
452 <string>Select Image...
</string>
463 <zorder>frame_4
</zorder>
464 <zorder>frame_3
</zorder>
468 <widget class=
"QFrame" name=
"frame_5">
469 <property name=
"frameShape">
470 <enum>QFrame::NoFrame
</enum>
472 <property name=
"frameShadow">
473 <enum>QFrame::Raised
</enum>
475 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
476 <property name=
"leftMargin">
479 <property name=
"topMargin">
482 <property name=
"rightMargin">
485 <property name=
"bottomMargin">
489 <spacer name=
"horizontalSpacer">
490 <property name=
"orientation">
491 <enum>Qt::Horizontal
</enum>
493 <property name=
"sizeHint" stdset=
"0">
502 <widget class=
"QPushButton" name=
"cancelBtn">
503 <property name=
"text">
504 <string>Close
</string>
509 <widget class=
"QPushButton" name=
"saveAsBtn">
510 <property name=
"enabled">
513 <property name=
"text">
514 <string>Save as
</string>
516 <property name=
"autoDefault">
522 <widget class=
"QPushButton" name=
"exportBtn">
523 <property name=
"enabled">
526 <property name=
"text">
527 <string>Export
</string>
529 <property name=
"autoDefault">
539 <widget class=
"QWidget" name=
"tab_2">
540 <attribute name=
"title">
541 <string>Import template
</string>
543 <layout class=
"QVBoxLayout" name=
"verticalLayout_6">
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>
555 <widget class=
"QFrame" name=
"frame_8">
556 <property name=
"frameShape">
557 <enum>QFrame::NoFrame
</enum>
559 <property name=
"frameShadow">
560 <enum>QFrame::Raised
</enum>
562 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
563 <property name=
"leftMargin">
566 <property name=
"topMargin">
569 <property name=
"rightMargin">
572 <property name=
"bottomMargin">
576 <spacer name=
"horizontalSpacer_2">
577 <property name=
"orientation">
578 <enum>Qt::Horizontal
</enum>
580 <property name=
"sizeHint" stdset=
"0">
589 <widget class=
"QPushButton" name=
"cancelBtn_2">
590 <property name=
"text">
591 <string>Close
</string>
596 <widget class=
"QPushButton" name=
"importBtn">
597 <property name=
"enabled">
600 <property name=
"text">
601 <string>Import
</string>
603 <property name=
"checkable">
606 <property name=
"autoDefault">
619 <widget class=
"QFrame" name=
"frame_2">
620 <property name=
"frameShape">
621 <enum>QFrame::NoFrame
</enum>
623 <property name=
"frameShadow">
624 <enum>QFrame::Raised
</enum>
626 <layout class=
"QVBoxLayout" name=
"verticalLayout_2">
627 <property name=
"leftMargin">
630 <property name=
"topMargin">
633 <property name=
"rightMargin">
636 <property name=
"bottomMargin">
646 <class>VehicleTemplateSelectorWidget
</class>
647 <extends>QWidget
</extends>
648 <header>vehicletemplateselectorwidget.h
</header>
649 <container>1</container>
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>