64 <h3>Derived from</h3> |
64 <h3>Derived from</h3> |
65 QWidget, Ui_MicroPythonWidget |
65 QWidget, Ui_MicroPythonWidget |
66 <h3>Class Attributes</h3> |
66 <h3>Class Attributes</h3> |
67 |
67 |
68 <table> |
68 <table> |
69 <tr><td>DeviceBoardRole</td></tr><tr><td>DevicePortRole</td></tr><tr><td>DeviceTypeRole</td></tr><tr><td>ZoomMax</td></tr><tr><td>ZoomMin</td></tr> |
69 <tr><td>DeviceBoardRole</td></tr><tr><td>DevicePidRole</td></tr><tr><td>DevicePortRole</td></tr><tr><td>DeviceTypeRole</td></tr><tr><td>DeviceVidRole</td></tr><tr><td>ZoomMax</td></tr><tr><td>ZoomMin</td></tr> |
70 </table> |
70 </table> |
71 <h3>Class Methods</h3> |
71 <h3>Class Methods</h3> |
72 |
72 |
73 <table> |
73 <table> |
74 <tr><td>None</td></tr> |
74 <tr><td>None</td></tr> |
84 <tr> |
84 <tr> |
85 <td><a href="#MicroPythonWidget.__aboutToShowSuperMenu">__aboutToShowSuperMenu</a></td> |
85 <td><a href="#MicroPythonWidget.__aboutToShowSuperMenu">__aboutToShowSuperMenu</a></td> |
86 <td>Private slot to populate the Super Menu before showing it.</td> |
86 <td>Private slot to populate the Super Menu before showing it.</td> |
87 </tr> |
87 </tr> |
88 <tr> |
88 <tr> |
|
89 <td><a href="#MicroPythonWidget.__addUnknownDevices">__addUnknownDevices</a></td> |
|
90 <td>Private method to add devices to the list of manually added boards.</td> |
|
91 </tr> |
|
92 <tr> |
89 <td><a href="#MicroPythonWidget.__clear">__clear</a></td> |
93 <td><a href="#MicroPythonWidget.__clear">__clear</a></td> |
90 <td>Private slot to clear the REPL pane.</td> |
94 <td>Private slot to clear the REPL pane.</td> |
91 </tr> |
95 </tr> |
92 <tr> |
96 <tr> |
93 <td><a href="#MicroPythonWidget.__compileEditor2Mpy">__compileEditor2Mpy</a></td> |
97 <td><a href="#MicroPythonWidget.__compileEditor2Mpy">__compileEditor2Mpy</a></td> |
134 <td>Private slot to handle a change in preferences.</td> |
138 <td>Private slot to handle a change in preferences.</td> |
135 </tr> |
139 </tr> |
136 <tr> |
140 <tr> |
137 <td><a href="#MicroPythonWidget.__manageIgnored">__manageIgnored</a></td> |
141 <td><a href="#MicroPythonWidget.__manageIgnored">__manageIgnored</a></td> |
138 <td>Private slot to manage the list of ignored serial devices.</td> |
142 <td>Private slot to manage the list of ignored serial devices.</td> |
|
143 </tr> |
|
144 <tr> |
|
145 <td><a href="#MicroPythonWidget.__manageUnknownDevices">__manageUnknownDevices</a></td> |
|
146 <td>Private slot to manage manually added boards (i.e.</td> |
139 </tr> |
147 </tr> |
140 <tr> |
148 <tr> |
141 <td><a href="#MicroPythonWidget.__mpyCrossAvailable">__mpyCrossAvailable</a></td> |
149 <td><a href="#MicroPythonWidget.__mpyCrossAvailable">__mpyCrossAvailable</a></td> |
142 <td>Private method to check the availability of mpy-cross.</td> |
150 <td>Private method to check the availability of mpy-cross.</td> |
143 </tr> |
151 </tr> |
299 <b>__aboutToShowSuperMenu</b>(<i></i>) |
307 <b>__aboutToShowSuperMenu</b>(<i></i>) |
300 |
308 |
301 <p> |
309 <p> |
302 Private slot to populate the Super Menu before showing it. |
310 Private slot to populate the Super Menu before showing it. |
303 </p> |
311 </p> |
|
312 <a NAME="MicroPythonWidget.__addUnknownDevices" ID="MicroPythonWidget.__addUnknownDevices"></a> |
|
313 <h4>MicroPythonWidget.__addUnknownDevices</h4> |
|
314 <b>__addUnknownDevices</b>(<i>devices</i>) |
|
315 |
|
316 <p> |
|
317 Private method to add devices to the list of manually added boards. |
|
318 </p> |
|
319 <dl> |
|
320 |
|
321 <dt><i>devices</i> (list of tuple of (int, int, str))</dt> |
|
322 <dd> |
|
323 list of not ignored but unknown devices |
|
324 </dd> |
|
325 </dl> |
304 <a NAME="MicroPythonWidget.__clear" ID="MicroPythonWidget.__clear"></a> |
326 <a NAME="MicroPythonWidget.__clear" ID="MicroPythonWidget.__clear"></a> |
305 <h4>MicroPythonWidget.__clear</h4> |
327 <h4>MicroPythonWidget.__clear</h4> |
306 <b>__clear</b>(<i></i>) |
328 <b>__clear</b>(<i></i>) |
307 |
329 |
308 <p> |
330 <p> |
427 <h4>MicroPythonWidget.__manageIgnored</h4> |
449 <h4>MicroPythonWidget.__manageIgnored</h4> |
428 <b>__manageIgnored</b>(<i></i>) |
450 <b>__manageIgnored</b>(<i></i>) |
429 |
451 |
430 <p> |
452 <p> |
431 Private slot to manage the list of ignored serial devices. |
453 Private slot to manage the list of ignored serial devices. |
|
454 </p> |
|
455 <a NAME="MicroPythonWidget.__manageUnknownDevices" ID="MicroPythonWidget.__manageUnknownDevices"></a> |
|
456 <h4>MicroPythonWidget.__manageUnknownDevices</h4> |
|
457 <b>__manageUnknownDevices</b>(<i></i>) |
|
458 |
|
459 <p> |
|
460 Private slot to manage manually added boards (i.e. those not in the |
|
461 list of supported boards). |
432 </p> |
462 </p> |
433 <a NAME="MicroPythonWidget.__mpyCrossAvailable" ID="MicroPythonWidget.__mpyCrossAvailable"></a> |
463 <a NAME="MicroPythonWidget.__mpyCrossAvailable" ID="MicroPythonWidget.__mpyCrossAvailable"></a> |
434 <h4>MicroPythonWidget.__mpyCrossAvailable</h4> |
464 <h4>MicroPythonWidget.__mpyCrossAvailable</h4> |
435 <b>__mpyCrossAvailable</b>(<i></i>) |
465 <b>__mpyCrossAvailable</b>(<i></i>) |
436 |
466 |