Bsongis/issue 4400 (#4425)
[opentx.git] / companion / src / simulation / simulatorstartupdialog.ui
blobba97d2c750ece3ea7dc5688c84bcf96ff3a1ab1b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SimulatorStartupDialog</class>
4 <widget class="QDialog" name="SimulatorStartupDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>550</width>
10 <height>217</height>
11 </rect>
12 </property>
13 <property name="minimumSize">
14 <size>
15 <width>550</width>
16 <height>0</height>
17 </size>
18 </property>
19 <property name="windowTitle">
20 <string>OpenTX Simulator - Startup Options</string>
21 </property>
22 <property name="modal">
23 <bool>true</bool>
24 </property>
25 <layout class="QVBoxLayout" name="verticalLayout">
26 <property name="spacing">
27 <number>6</number>
28 </property>
29 <item>
30 <widget class="QGroupBox" name="groupBox">
31 <property name="sizePolicy">
32 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
33 <horstretch>0</horstretch>
34 <verstretch>0</verstretch>
35 </sizepolicy>
36 </property>
37 <property name="title">
38 <string>Simulator Startup Options:</string>
39 </property>
40 <layout class="QFormLayout" name="layout_options">
41 <property name="sizeConstraint">
42 <enum>QLayout::SetNoConstraint</enum>
43 </property>
44 <property name="fieldGrowthPolicy">
45 <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
46 </property>
47 <property name="labelAlignment">
48 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
49 </property>
50 <property name="formAlignment">
51 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
52 </property>
53 <property name="horizontalSpacing">
54 <number>5</number>
55 </property>
56 <property name="verticalSpacing">
57 <number>4</number>
58 </property>
59 <property name="leftMargin">
60 <number>9</number>
61 </property>
62 <property name="topMargin">
63 <number>7</number>
64 </property>
65 <property name="rightMargin">
66 <number>9</number>
67 </property>
68 <property name="bottomMargin">
69 <number>5</number>
70 </property>
71 <item row="0" column="0">
72 <widget class="QLabel" name="label_2">
73 <property name="text">
74 <string>Radio Profile:</string>
75 </property>
76 </widget>
77 </item>
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>
84 </sizepolicy>
85 </property>
86 <property name="toolTip">
87 <string>Existing radio profiles are shown here.&lt;br /&gt;
88 Create or edit profiles using the Companion application.</string>
89 </property>
90 </widget>
91 </item>
92 <item row="1" column="0">
93 <widget class="QLabel" name="label_3">
94 <property name="text">
95 <string>Radio Type:</string>
96 </property>
97 </widget>
98 </item>
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>
105 </sizepolicy>
106 </property>
107 <property name="toolTip">
108 <string>Existing radio simulators are shown here.&lt;br /&gt;
109 The radio type specified in the selected profile is used by default.</string>
110 </property>
111 </widget>
112 </item>
113 <item row="2" column="0">
114 <widget class="QLabel" name="label_6">
115 <property name="text">
116 <string>Data Source:</string>
117 </property>
118 </widget>
119 </item>
120 <item row="3" column="0">
121 <widget class="QLabel" name="label_4">
122 <property name="text">
123 <string>Data File:</string>
124 </property>
125 </widget>
126 </item>
127 <item row="4" column="0">
128 <widget class="QLabel" name="label_5">
129 <property name="text">
130 <string>Data Folder:</string>
131 </property>
132 </widget>
133 </item>
134 <item row="5" column="0">
135 <widget class="QLabel" name="label_7">
136 <property name="text">
137 <string>SD Image Path:</string>
138 </property>
139 </widget>
140 </item>
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>
147 </sizepolicy>
148 </property>
149 <layout class="QHBoxLayout" name="layout_dataFile" stretch="1,0">
150 <property name="spacing">
151 <number>4</number>
152 </property>
153 <property name="leftMargin">
154 <number>0</number>
155 </property>
156 <property name="topMargin">
157 <number>0</number>
158 </property>
159 <property name="rightMargin">
160 <number>0</number>
161 </property>
162 <property name="bottomMargin">
163 <number>0</number>
164 </property>
165 <item>
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.&lt;br /&gt;
169 &lt;b&gt;NOTE&lt;/b&gt;: any existing EEPROM data incompatible with the selected radio type may be overwritten!</string>
170 </property>
171 </widget>
172 </item>
173 <item>
174 <widget class="QToolButton" name="btnSelectDataFile">
175 <property name="toolTip">
176 <string>Select data file...</string>
177 </property>
178 <property name="text">
179 <string>...</string>
180 </property>
181 <property name="icon">
182 <iconset>
183 <normaloff>:/themes/monoblue/16/open.png</normaloff>:/themes/monoblue/16/open.png</iconset>
184 </property>
185 <property name="toolButtonStyle">
186 <enum>Qt::ToolButtonIconOnly</enum>
187 </property>
188 </widget>
189 </item>
190 </layout>
191 </widget>
192 </item>
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>
199 </sizepolicy>
200 </property>
201 <layout class="QHBoxLayout" name="layout_dataFolder" stretch="1,0">
202 <property name="spacing">
203 <number>4</number>
204 </property>
205 <property name="leftMargin">
206 <number>0</number>
207 </property>
208 <property name="topMargin">
209 <number>0</number>
210 </property>
211 <property name="rightMargin">
212 <number>0</number>
213 </property>
214 <property name="bottomMargin">
215 <number>0</number>
216 </property>
217 <item>
218 <widget class="QLineEdit" name="dataFolder">
219 <property name="toolTip">
220 <string>Directory containing RADIO and MODELS folders to use.&lt;br /&gt;
221 New folder(s) with default radio/model will be created here if necessary.</string>
222 </property>
223 </widget>
224 </item>
225 <item>
226 <widget class="QToolButton" name="btnSelectDataFolder">
227 <property name="toolTip">
228 <string>Select data folder...</string>
229 </property>
230 <property name="text">
231 <string>...</string>
232 </property>
233 <property name="icon">
234 <iconset>
235 <normaloff>:/themes/monoblue/16/open.png</normaloff>:/themes/monoblue/16/open.png</iconset>
236 </property>
237 <property name="toolButtonStyle">
238 <enum>Qt::ToolButtonIconOnly</enum>
239 </property>
240 </widget>
241 </item>
242 </layout>
243 </widget>
244 </item>
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>
251 </sizepolicy>
252 </property>
253 <layout class="QHBoxLayout" name="layout_sdPath" stretch="1,0">
254 <property name="spacing">
255 <number>4</number>
256 </property>
257 <property name="leftMargin">
258 <number>0</number>
259 </property>
260 <property name="topMargin">
261 <number>0</number>
262 </property>
263 <property name="rightMargin">
264 <number>0</number>
265 </property>
266 <property name="bottomMargin">
267 <number>0</number>
268 </property>
269 <item>
270 <widget class="QLineEdit" name="sdPath">
271 <property name="toolTip">
272 <string>Directory containing the SD card image to use.&lt;br/&gt;
273 The default is configured in the chosen Radio Profile.</string>
274 </property>
275 </widget>
276 </item>
277 <item>
278 <widget class="QToolButton" name="btnSelectSdPath">
279 <property name="toolTip">
280 <string>Select SD card image folder...</string>
281 </property>
282 <property name="text">
283 <string>...</string>
284 </property>
285 <property name="icon">
286 <iconset>
287 <normaloff>:/themes/monoblue/16/open.png</normaloff>:/themes/monoblue/16/open.png</iconset>
288 </property>
289 <property name="toolButtonStyle">
290 <enum>Qt::ToolButtonIconOnly</enum>
291 </property>
292 </widget>
293 </item>
294 </layout>
295 </widget>
296 </item>
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>
303 </sizepolicy>
304 </property>
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>
307 </property>
308 <layout class="QHBoxLayout" name="layout_dataSource">
309 <property name="spacing">
310 <number>5</number>
311 </property>
312 <property name="leftMargin">
313 <number>0</number>
314 </property>
315 <property name="topMargin">
316 <number>0</number>
317 </property>
318 <property name="rightMargin">
319 <number>0</number>
320 </property>
321 <property name="bottomMargin">
322 <number>0</number>
323 </property>
324 <item>
325 <widget class="QRadioButton" name="optFile">
326 <property name="text">
327 <string>File</string>
328 </property>
329 <attribute name="buttonGroup">
330 <string notr="true">optGrp_dataSource</string>
331 </attribute>
332 </widget>
333 </item>
334 <item>
335 <widget class="QRadioButton" name="optFolder">
336 <property name="text">
337 <string>Folder</string>
338 </property>
339 <attribute name="buttonGroup">
340 <string notr="true">optGrp_dataSource</string>
341 </attribute>
342 </widget>
343 </item>
344 <item>
345 <widget class="QRadioButton" name="optSdPath">
346 <property name="text">
347 <string>SD Path</string>
348 </property>
349 <attribute name="buttonGroup">
350 <string notr="true">optGrp_dataSource</string>
351 </attribute>
352 </widget>
353 </item>
354 </layout>
355 </widget>
356 </item>
357 </layout>
358 </widget>
359 </item>
360 <item>
361 <widget class="QDialogButtonBox" name="buttonBox">
362 <property name="orientation">
363 <enum>Qt::Horizontal</enum>
364 </property>
365 <property name="standardButtons">
366 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
367 </property>
368 </widget>
369 </item>
370 </layout>
371 </widget>
372 <resources/>
373 <connections>
374 <connection>
375 <sender>buttonBox</sender>
376 <signal>accepted()</signal>
377 <receiver>SimulatorStartupDialog</receiver>
378 <slot>accept()</slot>
379 <hints>
380 <hint type="sourcelabel">
381 <x>248</x>
382 <y>254</y>
383 </hint>
384 <hint type="destinationlabel">
385 <x>157</x>
386 <y>274</y>
387 </hint>
388 </hints>
389 </connection>
390 <connection>
391 <sender>buttonBox</sender>
392 <signal>rejected()</signal>
393 <receiver>SimulatorStartupDialog</receiver>
394 <slot>reject()</slot>
395 <hints>
396 <hint type="sourcelabel">
397 <x>316</x>
398 <y>260</y>
399 </hint>
400 <hint type="destinationlabel">
401 <x>286</x>
402 <y>274</y>
403 </hint>
404 </hints>
405 </connection>
406 </connections>
407 <buttongroups>
408 <buttongroup name="optGrp_dataSource"/>
409 </buttongroups>
410 </ui>