1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>SimulatorStartupDialog
</class>
4 <widget class=
"QDialog" name=
"SimulatorStartupDialog">
5 <property name=
"geometry">
13 <property name=
"minimumSize">
19 <property name=
"windowTitle">
20 <string>OpenTX Simulator - Startup Options
</string>
22 <property name=
"modal">
25 <layout class=
"QVBoxLayout" name=
"verticalLayout">
26 <property name=
"spacing">
30 <widget class=
"QGroupBox" name=
"groupBox">
31 <property name=
"sizePolicy">
32 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Preferred">
33 <horstretch>0</horstretch>
34 <verstretch>0</verstretch>
37 <property name=
"title">
38 <string>Simulator Startup Options:
</string>
40 <layout class=
"QFormLayout" name=
"layout_options">
41 <property name=
"sizeConstraint">
42 <enum>QLayout::SetNoConstraint
</enum>
44 <property name=
"fieldGrowthPolicy">
45 <enum>QFormLayout::AllNonFixedFieldsGrow
</enum>
47 <property name=
"labelAlignment">
48 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
50 <property name=
"formAlignment">
51 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
</set>
53 <property name=
"horizontalSpacing">
56 <property name=
"verticalSpacing">
59 <property name=
"leftMargin">
62 <property name=
"topMargin">
65 <property name=
"rightMargin">
68 <property name=
"bottomMargin">
71 <item row=
"0" column=
"0">
72 <widget class=
"QLabel" name=
"label_2">
73 <property name=
"text">
74 <string>Radio Profile:
</string>
78 <item row=
"0" column=
"1">
79 <widget class=
"QComboBox" name=
"radioProfile">
80 <property name=
"sizePolicy">
81 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Fixed">
82 <horstretch>0</horstretch>
83 <verstretch>0</verstretch>
86 <property name=
"toolTip">
87 <string>Existing radio profiles are shown here.
<br /
>
88 Create or edit profiles using the Companion application.
</string>
92 <item row=
"1" column=
"0">
93 <widget class=
"QLabel" name=
"label_3">
94 <property name=
"text">
95 <string>Radio Type:
</string>
99 <item row=
"1" column=
"1">
100 <widget class=
"QComboBox" name=
"radioType">
101 <property name=
"sizePolicy">
102 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Fixed">
103 <horstretch>0</horstretch>
104 <verstretch>0</verstretch>
107 <property name=
"toolTip">
108 <string>Existing radio simulators are shown here.
<br /
>
109 The radio type specified in the selected profile is used by default.
</string>
113 <item row=
"2" column=
"0">
114 <widget class=
"QLabel" name=
"label_6">
115 <property name=
"text">
116 <string>Data Source:
</string>
120 <item row=
"3" column=
"0">
121 <widget class=
"QLabel" name=
"label_4">
122 <property name=
"text">
123 <string>Data File:
</string>
127 <item row=
"4" column=
"0">
128 <widget class=
"QLabel" name=
"label_5">
129 <property name=
"text">
130 <string>Data Folder:
</string>
134 <item row=
"5" column=
"0">
135 <widget class=
"QLabel" name=
"label_7">
136 <property name=
"text">
137 <string>SD Image Path:
</string>
141 <item row=
"3" column=
"1">
142 <widget class=
"QWidget" name=
"wdgt_dataFile" native=
"true">
143 <property name=
"sizePolicy">
144 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Preferred">
145 <horstretch>0</horstretch>
146 <verstretch>0</verstretch>
149 <layout class=
"QHBoxLayout" name=
"layout_dataFile" stretch=
"1,0">
150 <property name=
"spacing">
153 <property name=
"leftMargin">
156 <property name=
"topMargin">
159 <property name=
"rightMargin">
162 <property name=
"bottomMargin">
166 <widget class=
"QLineEdit" name=
"dataFile">
167 <property name=
"toolTip">
168 <string>Radio data (.bin/.eeprom/.otx) image file to use. A new file with a default image will be created if necessary.
<br /
>
169 <b
>NOTE
</b
>: any existing EEPROM data incompatible with the selected radio type may be overwritten!
</string>
174 <widget class=
"QToolButton" name=
"btnSelectDataFile">
175 <property name=
"toolTip">
176 <string>Select data file...
</string>
178 <property name=
"text">
181 <property name=
"icon">
183 <normaloff>:/themes/monoblue/
16/open.png
</normaloff>:/themes/monoblue/
16/open.png
</iconset>
185 <property name=
"toolButtonStyle">
186 <enum>Qt::ToolButtonIconOnly
</enum>
193 <item row=
"4" column=
"1">
194 <widget class=
"QWidget" name=
"wdgt_dataFolder" native=
"true">
195 <property name=
"sizePolicy">
196 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Preferred">
197 <horstretch>0</horstretch>
198 <verstretch>0</verstretch>
201 <layout class=
"QHBoxLayout" name=
"layout_dataFolder" stretch=
"1,0">
202 <property name=
"spacing">
205 <property name=
"leftMargin">
208 <property name=
"topMargin">
211 <property name=
"rightMargin">
214 <property name=
"bottomMargin">
218 <widget class=
"QLineEdit" name=
"dataFolder">
219 <property name=
"toolTip">
220 <string>Directory containing RADIO and MODELS folders to use.
<br /
>
221 New folder(s) with default radio/model will be created here if necessary.
</string>
226 <widget class=
"QToolButton" name=
"btnSelectDataFolder">
227 <property name=
"toolTip">
228 <string>Select data folder...
</string>
230 <property name=
"text">
233 <property name=
"icon">
235 <normaloff>:/themes/monoblue/
16/open.png
</normaloff>:/themes/monoblue/
16/open.png
</iconset>
237 <property name=
"toolButtonStyle">
238 <enum>Qt::ToolButtonIconOnly
</enum>
245 <item row=
"5" column=
"1">
246 <widget class=
"QWidget" name=
"wdgt_sdPath" native=
"true">
247 <property name=
"sizePolicy">
248 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Preferred">
249 <horstretch>0</horstretch>
250 <verstretch>0</verstretch>
253 <layout class=
"QHBoxLayout" name=
"layout_sdPath" stretch=
"1,0">
254 <property name=
"spacing">
257 <property name=
"leftMargin">
260 <property name=
"topMargin">
263 <property name=
"rightMargin">
266 <property name=
"bottomMargin">
270 <widget class=
"QLineEdit" name=
"sdPath">
271 <property name=
"toolTip">
272 <string>Directory containing the SD card image to use.
<br/
>
273 The default is configured in the chosen Radio Profile.
</string>
278 <widget class=
"QToolButton" name=
"btnSelectSdPath">
279 <property name=
"toolTip">
280 <string>Select SD card image folder...
</string>
282 <property name=
"text">
285 <property name=
"icon">
287 <normaloff>:/themes/monoblue/
16/open.png
</normaloff>:/themes/monoblue/
16/open.png
</iconset>
289 <property name=
"toolButtonStyle">
290 <enum>Qt::ToolButtonIconOnly
</enum>
297 <item row=
"2" column=
"1">
298 <widget class=
"QWidget" name=
"wdgt_dataSource" native=
"true">
299 <property name=
"sizePolicy">
300 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Preferred">
301 <horstretch>0</horstretch>
302 <verstretch>0</verstretch>
305 <property name=
"toolTip">
306 <string>Select which of the data sources (File/Folder/SD Card) you would like to start the simulator with.
</string>
308 <layout class=
"QHBoxLayout" name=
"layout_dataSource">
309 <property name=
"spacing">
312 <property name=
"leftMargin">
315 <property name=
"topMargin">
318 <property name=
"rightMargin">
321 <property name=
"bottomMargin">
325 <widget class=
"QRadioButton" name=
"optFile">
326 <property name=
"text">
327 <string>File
</string>
329 <attribute name=
"buttonGroup">
330 <string notr=
"true">optGrp_dataSource
</string>
335 <widget class=
"QRadioButton" name=
"optFolder">
336 <property name=
"text">
337 <string>Folder
</string>
339 <attribute name=
"buttonGroup">
340 <string notr=
"true">optGrp_dataSource
</string>
345 <widget class=
"QRadioButton" name=
"optSdPath">
346 <property name=
"text">
347 <string>SD Path
</string>
349 <attribute name=
"buttonGroup">
350 <string notr=
"true">optGrp_dataSource
</string>
361 <widget class=
"QDialogButtonBox" name=
"buttonBox">
362 <property name=
"orientation">
363 <enum>Qt::Horizontal
</enum>
365 <property name=
"standardButtons">
366 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok
</set>
375 <sender>buttonBox
</sender>
376 <signal>accepted()
</signal>
377 <receiver>SimulatorStartupDialog
</receiver>
378 <slot>accept()
</slot>
380 <hint type=
"sourcelabel">
384 <hint type=
"destinationlabel">
391 <sender>buttonBox
</sender>
392 <signal>rejected()
</signal>
393 <receiver>SimulatorStartupDialog
</receiver>
394 <slot>reject()
</slot>
396 <hint type=
"sourcelabel">
400 <hint type=
"destinationlabel">
408 <buttongroup name=
"optGrp_dataSource"/>