|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>MicroPythonPage</class> |
|
4 <widget class="QWidget" name="MicroPythonPage"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>476</width> |
|
10 <height>1205</height> |
|
11 </rect> |
|
12 </property> |
|
13 <layout class="QVBoxLayout" name="verticalLayout"> |
|
14 <item> |
|
15 <widget class="QLabel" name="headerLabel"> |
|
16 <property name="text"> |
|
17 <string><b>Configure MicroPython</b></string> |
|
18 </property> |
|
19 </widget> |
|
20 </item> |
|
21 <item> |
|
22 <widget class="Line" name="line9_3"> |
|
23 <property name="frameShape"> |
|
24 <enum>QFrame::HLine</enum> |
|
25 </property> |
|
26 <property name="frameShadow"> |
|
27 <enum>QFrame::Sunken</enum> |
|
28 </property> |
|
29 <property name="orientation"> |
|
30 <enum>Qt::Horizontal</enum> |
|
31 </property> |
|
32 </widget> |
|
33 </item> |
|
34 <item> |
|
35 <widget class="QGroupBox" name="groupBox_4"> |
|
36 <property name="title"> |
|
37 <string>Workspace</string> |
|
38 </property> |
|
39 <layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
40 <item> |
|
41 <widget class="E5PathPicker" name="workspacePicker" native="true"> |
|
42 <property name="sizePolicy"> |
|
43 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
44 <horstretch>0</horstretch> |
|
45 <verstretch>0</verstretch> |
|
46 </sizepolicy> |
|
47 </property> |
|
48 <property name="focusPolicy"> |
|
49 <enum>Qt::StrongFocus</enum> |
|
50 </property> |
|
51 <property name="toolTip"> |
|
52 <string>Enter the name of the MicroPython workspace directory</string> |
|
53 </property> |
|
54 </widget> |
|
55 </item> |
|
56 </layout> |
|
57 </widget> |
|
58 </item> |
|
59 <item> |
|
60 <widget class="QGroupBox" name="groupBox_2"> |
|
61 <property name="title"> |
|
62 <string>Serial Link</string> |
|
63 </property> |
|
64 <layout class="QGridLayout" name="gridLayout_2"> |
|
65 <item row="0" column="0"> |
|
66 <widget class="QLabel" name="label_2"> |
|
67 <property name="text"> |
|
68 <string>Timeout for Serial Link Communication:</string> |
|
69 </property> |
|
70 </widget> |
|
71 </item> |
|
72 <item row="0" column="1"> |
|
73 <widget class="QSpinBox" name="timeoutSpinBox"> |
|
74 <property name="toolTip"> |
|
75 <string>Enter the timout value</string> |
|
76 </property> |
|
77 <property name="alignment"> |
|
78 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
79 </property> |
|
80 <property name="suffix"> |
|
81 <string> s</string> |
|
82 </property> |
|
83 <property name="minimum"> |
|
84 <number>1</number> |
|
85 </property> |
|
86 <property name="maximum"> |
|
87 <number>30</number> |
|
88 </property> |
|
89 </widget> |
|
90 </item> |
|
91 <item row="0" column="2"> |
|
92 <spacer name="horizontalSpacer"> |
|
93 <property name="orientation"> |
|
94 <enum>Qt::Horizontal</enum> |
|
95 </property> |
|
96 <property name="sizeHint" stdset="0"> |
|
97 <size> |
|
98 <width>195</width> |
|
99 <height>20</height> |
|
100 </size> |
|
101 </property> |
|
102 </spacer> |
|
103 </item> |
|
104 <item row="1" column="0" colspan="3"> |
|
105 <widget class="QCheckBox" name="syncTimeCheckBox"> |
|
106 <property name="sizePolicy"> |
|
107 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
108 <horstretch>0</horstretch> |
|
109 <verstretch>0</verstretch> |
|
110 </sizepolicy> |
|
111 </property> |
|
112 <property name="toolTip"> |
|
113 <string>Select to synchronize the time after connection is established</string> |
|
114 </property> |
|
115 <property name="text"> |
|
116 <string>Synchronize Time at Connect</string> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 </layout> |
|
121 </widget> |
|
122 </item> |
|
123 <item> |
|
124 <widget class="QGroupBox" name="groupBox"> |
|
125 <property name="title"> |
|
126 <string>REPL Pane</string> |
|
127 </property> |
|
128 <layout class="QGridLayout" name="gridLayout"> |
|
129 <item row="0" column="0"> |
|
130 <widget class="QLabel" name="label"> |
|
131 <property name="text"> |
|
132 <string>Color Scheme for ANSI Escape Codes:</string> |
|
133 </property> |
|
134 </widget> |
|
135 </item> |
|
136 <item row="0" column="1"> |
|
137 <widget class="QComboBox" name="colorSchemeComboBox"> |
|
138 <property name="sizePolicy"> |
|
139 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
140 <horstretch>0</horstretch> |
|
141 <verstretch>0</verstretch> |
|
142 </sizepolicy> |
|
143 </property> |
|
144 <property name="toolTip"> |
|
145 <string>Select the color scheme to be applied for ANSI color escape codes</string> |
|
146 </property> |
|
147 </widget> |
|
148 </item> |
|
149 <item row="1" column="0" colspan="2"> |
|
150 <widget class="QCheckBox" name="replWrapCheckBox"> |
|
151 <property name="toolTip"> |
|
152 <string>Select to wrap long line in the REPL pane</string> |
|
153 </property> |
|
154 <property name="text"> |
|
155 <string>Wrap long lines</string> |
|
156 </property> |
|
157 </widget> |
|
158 </item> |
|
159 </layout> |
|
160 </widget> |
|
161 </item> |
|
162 <item> |
|
163 <widget class="QGroupBox" name="groupBox_7"> |
|
164 <property name="title"> |
|
165 <string>Chart Pane</string> |
|
166 </property> |
|
167 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
168 <item> |
|
169 <widget class="QLabel" name="label_11"> |
|
170 <property name="text"> |
|
171 <string>Color Theme:</string> |
|
172 </property> |
|
173 </widget> |
|
174 </item> |
|
175 <item> |
|
176 <widget class="QComboBox" name="chartThemeComboBox"> |
|
177 <property name="sizePolicy"> |
|
178 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
179 <horstretch>0</horstretch> |
|
180 <verstretch>0</verstretch> |
|
181 </sizepolicy> |
|
182 </property> |
|
183 <property name="toolTip"> |
|
184 <string>Select the color scheme of the chart</string> |
|
185 </property> |
|
186 </widget> |
|
187 </item> |
|
188 </layout> |
|
189 </widget> |
|
190 </item> |
|
191 <item> |
|
192 <widget class="QGroupBox" name="groupBox_3"> |
|
193 <property name="title"> |
|
194 <string>MPY Cross Compiler</string> |
|
195 </property> |
|
196 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
197 <item> |
|
198 <widget class="QLabel" name="label_3"> |
|
199 <property name="text"> |
|
200 <string>Program:</string> |
|
201 </property> |
|
202 </widget> |
|
203 </item> |
|
204 <item> |
|
205 <widget class="E5PathPicker" name="mpyCrossPicker" native="true"> |
|
206 <property name="sizePolicy"> |
|
207 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
208 <horstretch>0</horstretch> |
|
209 <verstretch>0</verstretch> |
|
210 </sizepolicy> |
|
211 </property> |
|
212 <property name="focusPolicy"> |
|
213 <enum>Qt::WheelFocus</enum> |
|
214 </property> |
|
215 <property name="toolTip"> |
|
216 <string>Enter the path of the cross compiler executable</string> |
|
217 </property> |
|
218 </widget> |
|
219 </item> |
|
220 </layout> |
|
221 </widget> |
|
222 </item> |
|
223 <item> |
|
224 <widget class="QGroupBox" name="groupBox_5"> |
|
225 <property name="title"> |
|
226 <string>PyBoard</string> |
|
227 </property> |
|
228 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
229 <item> |
|
230 <widget class="QLabel" name="label_7"> |
|
231 <property name="text"> |
|
232 <string>dfu-util Path:</string> |
|
233 </property> |
|
234 </widget> |
|
235 </item> |
|
236 <item> |
|
237 <widget class="E5PathPicker" name="dfuUtilPathPicker" native="true"> |
|
238 <property name="sizePolicy"> |
|
239 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
240 <horstretch>0</horstretch> |
|
241 <verstretch>0</verstretch> |
|
242 </sizepolicy> |
|
243 </property> |
|
244 <property name="focusPolicy"> |
|
245 <enum>Qt::WheelFocus</enum> |
|
246 </property> |
|
247 <property name="toolTip"> |
|
248 <string>Enter the path of the dfu-util flashing executable</string> |
|
249 </property> |
|
250 </widget> |
|
251 </item> |
|
252 </layout> |
|
253 </widget> |
|
254 </item> |
|
255 <item> |
|
256 <widget class="QGroupBox" name="groupBox_8"> |
|
257 <property name="title"> |
|
258 <string>MicroPython</string> |
|
259 </property> |
|
260 <layout class="QGridLayout" name="gridLayout_5"> |
|
261 <item row="0" column="0"> |
|
262 <widget class="QLabel" name="label_14"> |
|
263 <property name="text"> |
|
264 <string>Firmware:</string> |
|
265 </property> |
|
266 </widget> |
|
267 </item> |
|
268 <item row="0" column="1"> |
|
269 <widget class="E5ClearableLineEdit" name="micropythonFirmwareUrlLineEdit"> |
|
270 <property name="toolTip"> |
|
271 <string>Enter the URL for the MicroPython firmware for PyBoard, ESP8266 and ESP32</string> |
|
272 </property> |
|
273 </widget> |
|
274 </item> |
|
275 <item row="1" column="0"> |
|
276 <widget class="QLabel" name="label_15"> |
|
277 <property name="text"> |
|
278 <string>Documentation:</string> |
|
279 </property> |
|
280 </widget> |
|
281 </item> |
|
282 <item row="1" column="1"> |
|
283 <widget class="E5ClearableLineEdit" name="micropythonDocuUrlLineEdit"> |
|
284 <property name="toolTip"> |
|
285 <string>Enter the URL for the MicroPython documentation</string> |
|
286 </property> |
|
287 </widget> |
|
288 </item> |
|
289 </layout> |
|
290 </widget> |
|
291 </item> |
|
292 <item> |
|
293 <widget class="QGroupBox" name="groupBox_9"> |
|
294 <property name="title"> |
|
295 <string>CircuitPython</string> |
|
296 </property> |
|
297 <layout class="QGridLayout" name="gridLayout_6"> |
|
298 <item row="0" column="0"> |
|
299 <widget class="QLabel" name="label_17"> |
|
300 <property name="text"> |
|
301 <string>Firmware:</string> |
|
302 </property> |
|
303 </widget> |
|
304 </item> |
|
305 <item row="0" column="1"> |
|
306 <widget class="E5ClearableLineEdit" name="circuitpythonFirmwareUrlLineEdit"> |
|
307 <property name="toolTip"> |
|
308 <string>Enter the URL for the CircuitPython firmware</string> |
|
309 </property> |
|
310 </widget> |
|
311 </item> |
|
312 <item row="1" column="0"> |
|
313 <widget class="QLabel" name="label_22"> |
|
314 <property name="text"> |
|
315 <string>Libraries:</string> |
|
316 </property> |
|
317 </widget> |
|
318 </item> |
|
319 <item row="1" column="1"> |
|
320 <widget class="E5ClearableLineEdit" name="circuitpythonLibrariesUrlLineEdit"> |
|
321 <property name="toolTip"> |
|
322 <string>Enter the URL for the CircuitPython libraries</string> |
|
323 </property> |
|
324 <property name="text"> |
|
325 <string/> |
|
326 </property> |
|
327 </widget> |
|
328 </item> |
|
329 <item row="2" column="0"> |
|
330 <widget class="QLabel" name="label_16"> |
|
331 <property name="text"> |
|
332 <string>Documentation:</string> |
|
333 </property> |
|
334 </widget> |
|
335 </item> |
|
336 <item row="2" column="1"> |
|
337 <widget class="E5ClearableLineEdit" name="circuitpythonDocuUrlLineEdit"> |
|
338 <property name="toolTip"> |
|
339 <string>Enter the URL for the CircuitPython documentation</string> |
|
340 </property> |
|
341 </widget> |
|
342 </item> |
|
343 </layout> |
|
344 </widget> |
|
345 </item> |
|
346 <item> |
|
347 <widget class="QGroupBox" name="groupBox_10"> |
|
348 <property name="title"> |
|
349 <string>BBC micro:bit</string> |
|
350 </property> |
|
351 <layout class="QGridLayout" name="gridLayout_7"> |
|
352 <item row="0" column="0"> |
|
353 <widget class="QLabel" name="label_18"> |
|
354 <property name="text"> |
|
355 <string>Firmware:</string> |
|
356 </property> |
|
357 </widget> |
|
358 </item> |
|
359 <item row="0" column="1"> |
|
360 <widget class="E5ClearableLineEdit" name="microbitFirmwareUrlLineEdit"> |
|
361 <property name="toolTip"> |
|
362 <string>Enter the URL for the BBC micro:bit DAPLink Firmware</string> |
|
363 </property> |
|
364 </widget> |
|
365 </item> |
|
366 <item row="1" column="0" colspan="2"> |
|
367 <widget class="QGroupBox" name="groupBox_6"> |
|
368 <property name="title"> |
|
369 <string>MicroPython</string> |
|
370 </property> |
|
371 <layout class="QGridLayout" name="gridLayout_3"> |
|
372 <item row="0" column="0"> |
|
373 <widget class="QLabel" name="label_4"> |
|
374 <property name="text"> |
|
375 <string>micro:bit V1:</string> |
|
376 </property> |
|
377 </widget> |
|
378 </item> |
|
379 <item row="0" column="1"> |
|
380 <widget class="E5ClearableLineEdit" name="microbitV1MicroPythonUrlLineEdit"> |
|
381 <property name="toolTip"> |
|
382 <string>Enter the URL for the BBC micro:bit V1 MicroPython Firmware</string> |
|
383 </property> |
|
384 </widget> |
|
385 </item> |
|
386 <item row="1" column="0"> |
|
387 <widget class="QLabel" name="label_6"> |
|
388 <property name="text"> |
|
389 <string>micro:bit V2:</string> |
|
390 </property> |
|
391 </widget> |
|
392 </item> |
|
393 <item row="1" column="1"> |
|
394 <widget class="E5ClearableLineEdit" name="microbitV2MicroPythonUrlLineEdit"> |
|
395 <property name="toolTip"> |
|
396 <string>Enter the URL for the BBC micro:bit V2 MicroPython Firmware</string> |
|
397 </property> |
|
398 </widget> |
|
399 </item> |
|
400 </layout> |
|
401 </widget> |
|
402 </item> |
|
403 <item row="2" column="0"> |
|
404 <widget class="QLabel" name="label_19"> |
|
405 <property name="text"> |
|
406 <string>Documentation:</string> |
|
407 </property> |
|
408 </widget> |
|
409 </item> |
|
410 <item row="2" column="1"> |
|
411 <widget class="E5ClearableLineEdit" name="microbitDocuUrlLineEdit"> |
|
412 <property name="toolTip"> |
|
413 <string>Enter the URL for the BBC micro:bit MicroPython documentation</string> |
|
414 </property> |
|
415 </widget> |
|
416 </item> |
|
417 </layout> |
|
418 </widget> |
|
419 </item> |
|
420 <item> |
|
421 <widget class="QGroupBox" name="groupBox_11"> |
|
422 <property name="title"> |
|
423 <string>Calliope mini:</string> |
|
424 </property> |
|
425 <layout class="QGridLayout" name="gridLayout_4"> |
|
426 <item row="0" column="0"> |
|
427 <widget class="QLabel" name="label_21"> |
|
428 <property name="text"> |
|
429 <string>Firmware:</string> |
|
430 </property> |
|
431 </widget> |
|
432 </item> |
|
433 <item row="0" column="1"> |
|
434 <widget class="E5ClearableLineEdit" name="calliopeFirmwareUrlLineEdit"> |
|
435 <property name="toolTip"> |
|
436 <string>Enter the URL for the Callope mini Firmware</string> |
|
437 </property> |
|
438 </widget> |
|
439 </item> |
|
440 <item row="1" column="0"> |
|
441 <widget class="QLabel" name="label_5"> |
|
442 <property name="text"> |
|
443 <string>MicroPython:</string> |
|
444 </property> |
|
445 </widget> |
|
446 </item> |
|
447 <item row="1" column="1"> |
|
448 <widget class="E5ClearableLineEdit" name="calliopeMicroPythonUrlLineEdit"> |
|
449 <property name="toolTip"> |
|
450 <string>Enter the URL for the Calliope mini MicroPython Firmware</string> |
|
451 </property> |
|
452 </widget> |
|
453 </item> |
|
454 <item row="2" column="0"> |
|
455 <widget class="QLabel" name="label_20"> |
|
456 <property name="text"> |
|
457 <string>Documentation:</string> |
|
458 </property> |
|
459 </widget> |
|
460 </item> |
|
461 <item row="2" column="1"> |
|
462 <widget class="E5ClearableLineEdit" name="calliopeDocuUrlLineEdit"> |
|
463 <property name="toolTip"> |
|
464 <string>Enter the URL for the Calliope mini MicroPython documentation</string> |
|
465 </property> |
|
466 </widget> |
|
467 </item> |
|
468 </layout> |
|
469 </widget> |
|
470 </item> |
|
471 <item> |
|
472 <spacer name="verticalSpacer"> |
|
473 <property name="orientation"> |
|
474 <enum>Qt::Vertical</enum> |
|
475 </property> |
|
476 <property name="sizeHint" stdset="0"> |
|
477 <size> |
|
478 <width>20</width> |
|
479 <height>32</height> |
|
480 </size> |
|
481 </property> |
|
482 </spacer> |
|
483 </item> |
|
484 </layout> |
|
485 </widget> |
|
486 <customwidgets> |
|
487 <customwidget> |
|
488 <class>E5PathPicker</class> |
|
489 <extends>QWidget</extends> |
|
490 <header>E5Gui/E5PathPicker.h</header> |
|
491 <container>1</container> |
|
492 </customwidget> |
|
493 <customwidget> |
|
494 <class>E5ClearableLineEdit</class> |
|
495 <extends>QLineEdit</extends> |
|
496 <header>E5Gui/E5LineEdit.h</header> |
|
497 </customwidget> |
|
498 </customwidgets> |
|
499 <tabstops> |
|
500 <tabstop>workspacePicker</tabstop> |
|
501 <tabstop>timeoutSpinBox</tabstop> |
|
502 <tabstop>syncTimeCheckBox</tabstop> |
|
503 <tabstop>colorSchemeComboBox</tabstop> |
|
504 <tabstop>replWrapCheckBox</tabstop> |
|
505 <tabstop>chartThemeComboBox</tabstop> |
|
506 <tabstop>mpyCrossPicker</tabstop> |
|
507 <tabstop>dfuUtilPathPicker</tabstop> |
|
508 <tabstop>micropythonFirmwareUrlLineEdit</tabstop> |
|
509 <tabstop>micropythonDocuUrlLineEdit</tabstop> |
|
510 <tabstop>circuitpythonFirmwareUrlLineEdit</tabstop> |
|
511 <tabstop>circuitpythonLibrariesUrlLineEdit</tabstop> |
|
512 <tabstop>circuitpythonDocuUrlLineEdit</tabstop> |
|
513 <tabstop>microbitFirmwareUrlLineEdit</tabstop> |
|
514 <tabstop>microbitV1MicroPythonUrlLineEdit</tabstop> |
|
515 <tabstop>microbitV2MicroPythonUrlLineEdit</tabstop> |
|
516 <tabstop>microbitDocuUrlLineEdit</tabstop> |
|
517 <tabstop>calliopeFirmwareUrlLineEdit</tabstop> |
|
518 <tabstop>calliopeMicroPythonUrlLineEdit</tabstop> |
|
519 <tabstop>calliopeDocuUrlLineEdit</tabstop> |
|
520 </tabstops> |
|
521 <resources/> |
|
522 <connections/> |
|
523 </ui> |