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=
"maximumSize">
28 <property name=
"windowTitle">
29 <string>Vehicle Template Export
</string>
31 <property name=
"sizeGripEnabled">
34 <property name=
"modal">
37 <layout class=
"QVBoxLayout" name=
"verticalLayout">
39 <widget class=
"QFrame" name=
"frame_2">
40 <property name=
"frameShape">
41 <enum>QFrame::NoFrame
</enum>
43 <property name=
"frameShadow">
44 <enum>QFrame::Raised
</enum>
46 <layout class=
"QVBoxLayout" name=
"verticalLayout_2">
47 <property name=
"leftMargin">
50 <property name=
"topMargin">
53 <property name=
"rightMargin">
56 <property name=
"bottomMargin">
60 <widget class=
"QFrame" name=
"frame">
61 <property name=
"sizePolicy">
62 <sizepolicy hsizetype=
"Preferred" vsizetype=
"MinimumExpanding">
63 <horstretch>0</horstretch>
64 <verstretch>0</verstretch>
67 <property name=
"frameShape">
68 <enum>QFrame::NoFrame
</enum>
70 <property name=
"frameShadow">
71 <enum>QFrame::Plain
</enum>
73 <layout class=
"QGridLayout" name=
"gridLayout">
74 <property name=
"leftMargin">
77 <property name=
"topMargin">
80 <property name=
"rightMargin">
83 <property name=
"bottomMargin">
86 <item row=
"6" column=
"2">
87 <widget class=
"QLabel" name=
"label_9">
88 <property name=
"text">
89 <string>Weight:
</string>
93 <item row=
"11" column=
"1">
94 <widget class=
"QLineEdit" name=
"Propeller">
95 <property name=
"placeholderText">
96 <string>Size and angle
</string>
100 <item row=
"10" column=
"2">
101 <widget class=
"QLabel" name=
"label_11">
102 <property name=
"text">
103 <string>Battery:
</string>
107 <item row=
"6" column=
"1">
108 <widget class=
"QLineEdit" name=
"Size">
109 <property name=
"placeholderText">
110 <string>Size of the vehicle in mm
</string>
114 <item row=
"8" column=
"0">
115 <widget class=
"QLabel" name=
"label_6">
116 <property name=
"text">
117 <string>Motor:
</string>
121 <item row=
"2" column=
"0">
122 <widget class=
"QLabel" name=
"label">
123 <property name=
"text">
124 <string>Name:
</string>
128 <item row=
"10" column=
"0">
129 <widget class=
"QLabel" name=
"label_8">
130 <property name=
"text">
131 <string>Servo:
</string>
135 <item row=
"10" column=
"1">
136 <widget class=
"QLineEdit" name=
"Servo">
137 <property name=
"placeholderText">
138 <string>Brand and name
</string>
142 <item row=
"4" column=
"1">
143 <widget class=
"QLineEdit" name=
"Owner">
144 <property name=
"placeholderText">
145 <string>Your name
</string>
149 <item row=
"11" column=
"0">
150 <widget class=
"QLabel" name=
"label_12">
151 <property name=
"text">
152 <string>Propeller:
</string>
156 <item row=
"4" column=
"2">
157 <widget class=
"QLabel" name=
"label_10">
158 <property name=
"text">
159 <string>Forum name:
</string>
163 <item row=
"5" column=
"0" colspan=
"5">
164 <widget class=
"Line" name=
"line">
165 <property name=
"orientation">
166 <enum>Qt::Horizontal
</enum>
170 <item row=
"2" column=
"1" colspan=
"4">
171 <widget class=
"QLineEdit" name=
"Name">
172 <property name=
"placeholderText">
173 <string>The name of the vehicle, brand etc
</string>
177 <item row=
"4" column=
"0">
178 <widget class=
"QLabel" name=
"label_2">
179 <property name=
"text">
180 <string>Owner:
</string>
184 <item row=
"8" column=
"1">
185 <widget class=
"QLineEdit" name=
"Motor">
186 <property name=
"placeholderText">
187 <string>Brand, size and Kv
</string>
191 <item row=
"6" column=
"0">
192 <widget class=
"QLabel" name=
"label_5">
193 <property name=
"text">
194 <string>Size:
</string>
198 <item row=
"10" column=
"3" colspan=
"2">
199 <widget class=
"QLineEdit" name=
"Battery">
200 <property name=
"placeholderText">
201 <string>How many cells etc?
</string>
205 <item row=
"11" column=
"2">
206 <widget class=
"QLabel" name=
"label_14">
207 <property name=
"text">
208 <string>Controller:
</string>
212 <item row=
"1" column=
"1" colspan=
"4">
213 <widget class=
"QLineEdit" name=
"Type">
214 <property name=
"autoFillBackground">
217 <property name=
"styleSheet">
218 <string notr=
"true">background-color: rgba(
255,
255,
255,
0);
</string>
220 <property name=
"frame">
223 <property name=
"readOnly">
228 <item row=
"8" column=
"2">
229 <widget class=
"QLabel" name=
"label_7">
230 <property name=
"text">
231 <string>ESC:
</string>
235 <item row=
"11" column=
"3" colspan=
"2">
236 <widget class=
"QComboBox" name=
"Controllers">
238 <property name=
"text">
239 <string>None
</string>
243 <property name=
"text">
248 <property name=
"text">
249 <string>CC3D
</string>
253 <property name=
"text">
254 <string>Atom
</string>
258 <property name=
"text">
259 <string>Revolution
</string>
263 <property name=
"text">
264 <string>Nano
</string>
269 <item row=
"1" column=
"0">
270 <widget class=
"QLabel" name=
"label_3">
271 <property name=
"text">
272 <string>Type:
</string>
276 <item row=
"4" column=
"3" colspan=
"2">
277 <widget class=
"QLineEdit" name=
"ForumNick">
278 <property name=
"placeholderText">
279 <string>Forum nickname
</string>
283 <item row=
"8" column=
"3" colspan=
"2">
284 <widget class=
"QLineEdit" name=
"Esc">
285 <property name=
"placeholderText">
286 <string>Brand and name
</string>
290 <item row=
"6" column=
"3" colspan=
"2">
291 <widget class=
"QLineEdit" name=
"Weight">
292 <property name=
"placeholderText">
293 <string>Weight in grams
</string>
304 <widget class=
"QFrame" name=
"frame_6">
305 <property name=
"frameShape">
306 <enum>QFrame::NoFrame
</enum>
308 <property name=
"frameShadow">
309 <enum>QFrame::Raised
</enum>
311 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
312 <property name=
"leftMargin">
315 <property name=
"topMargin">
318 <property name=
"rightMargin">
321 <property name=
"bottomMargin">
325 <widget class=
"QFrame" name=
"frame_3">
326 <property name=
"frameShape">
327 <enum>QFrame::NoFrame
</enum>
329 <property name=
"frameShadow">
330 <enum>QFrame::Raised
</enum>
332 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
333 <property name=
"leftMargin">
336 <property name=
"topMargin">
339 <property name=
"rightMargin">
342 <property name=
"bottomMargin">
345 <item alignment=
"Qt::AlignTop">
346 <widget class=
"QLabel" name=
"label_13">
347 <property name=
"text">
348 <string>Comment:
</string>
353 <widget class=
"QTextEdit" name=
"Comment">
354 <property name=
"sizePolicy">
355 <sizepolicy hsizetype=
"Preferred" vsizetype=
"MinimumExpanding">
356 <horstretch>0</horstretch>
357 <verstretch>0</verstretch>
360 <property name=
"verticalScrollBarPolicy">
361 <enum>Qt::ScrollBarAlwaysOn
</enum>
363 <property name=
"horizontalScrollBarPolicy">
364 <enum>Qt::ScrollBarAlwaysOff
</enum>
366 <property name=
"placeholderText">
367 <string>Put comments here that doesn't fit in the categories above
</string>
375 <widget class=
"QFrame" name=
"frame_4">
376 <property name=
"frameShape">
377 <enum>QFrame::NoFrame
</enum>
379 <property name=
"frameShadow">
380 <enum>QFrame::Raised
</enum>
382 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
383 <property name=
"leftMargin">
386 <property name=
"topMargin">
389 <property name=
"rightMargin">
392 <property name=
"bottomMargin">
396 <widget class=
"QLabel" name=
"label_4">
397 <property name=
"text">
398 <string>Photo:
</string>
403 <widget class=
"QGraphicsView" name=
"Photo">
404 <property name=
"sizePolicy">
405 <sizepolicy hsizetype=
"Expanding" vsizetype=
"MinimumExpanding">
406 <horstretch>0</horstretch>
407 <verstretch>0</verstretch>
410 <property name=
"styleSheet">
411 <string notr=
"true">background-color: rgba(
254,
254,
254,
0);
</string>
413 <property name=
"frameShape">
414 <enum>QFrame::NoFrame
</enum>
416 <property name=
"frameShadow">
417 <enum>QFrame::Sunken
</enum>
419 <property name=
"backgroundBrush">
420 <brush brushstyle=
"NoBrush">
428 <property name=
"interactive">
431 <property name=
"alignment">
432 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
</set>
437 <widget class=
"QFrame" name=
"frame_7">
438 <property name=
"frameShape">
439 <enum>QFrame::NoFrame
</enum>
441 <property name=
"frameShadow">
442 <enum>QFrame::Raised
</enum>
444 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
445 <property name=
"leftMargin">
448 <property name=
"topMargin">
451 <property name=
"rightMargin">
454 <property name=
"bottomMargin">
458 <widget class=
"QLabel" name=
"label_15">
459 <property name=
"font">
461 <pointsize>8</pointsize>
464 <property name=
"text">
465 <string>Photo will be scaled to
500x500px
</string>
470 <widget class=
"QPushButton" name=
"ImportButton">
471 <property name=
"text">
472 <string>Select Image...
</string>
483 <zorder>frame_4
</zorder>
484 <zorder>frame_3
</zorder>
488 <widget class=
"QFrame" name=
"frame_5">
489 <property name=
"frameShape">
490 <enum>QFrame::NoFrame
</enum>
492 <property name=
"frameShadow">
493 <enum>QFrame::Raised
</enum>
495 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
496 <property name=
"leftMargin">
499 <property name=
"topMargin">
502 <property name=
"rightMargin">
505 <property name=
"bottomMargin">
509 <spacer name=
"horizontalSpacer">
510 <property name=
"orientation">
511 <enum>Qt::Horizontal
</enum>
513 <property name=
"sizeHint" stdset=
"0">
522 <widget class=
"QPushButton" name=
"cancelBtn">
523 <property name=
"text">
524 <string>Cancel
</string>
529 <widget class=
"QPushButton" name=
"acceptBtn">
530 <property name=
"enabled">
533 <property name=
"text">
534 <string>Export
</string>
544 <tabstop>Type
</tabstop>
545 <tabstop>Name
</tabstop>
546 <tabstop>Owner
</tabstop>
547 <tabstop>ForumNick
</tabstop>
548 <tabstop>Size
</tabstop>
549 <tabstop>Weight
</tabstop>
550 <tabstop>Motor
</tabstop>
551 <tabstop>Esc
</tabstop>
552 <tabstop>Servo
</tabstop>
553 <tabstop>Battery
</tabstop>
554 <tabstop>Propeller
</tabstop>
555 <tabstop>Controllers
</tabstop>
556 <tabstop>Comment
</tabstop>
557 <tabstop>ImportButton
</tabstop>
558 <tabstop>acceptBtn
</tabstop>
559 <tabstop>cancelBtn
</tabstop>
560 <tabstop>Photo
</tabstop>
565 <sender>cancelBtn
</sender>
566 <signal>clicked()
</signal>
567 <receiver>VehicleTemplateExportDialog
</receiver>
568 <slot>reject()
</slot>
570 <hint type=
"sourcelabel">
574 <hint type=
"destinationlabel">
581 <sender>acceptBtn
</sender>
582 <signal>clicked()
</signal>
583 <receiver>VehicleTemplateExportDialog
</receiver>
584 <slot>accept()
</slot>
586 <hint type=
"sourcelabel">
590 <hint type=
"destinationlabel">