50 <h3>Derived from</h3> |
50 <h3>Derived from</h3> |
51 QWidget, Ui_MicroPythonWidget |
51 QWidget, Ui_MicroPythonWidget |
52 <h3>Class Attributes</h3> |
52 <h3>Class Attributes</h3> |
53 |
53 |
54 <table> |
54 <table> |
55 <tr><td>DeviceBoardRole</td></tr><tr><td>DevicePidRole</td></tr><tr><td>DevicePortRole</td></tr><tr><td>DeviceSerNoRole</td></tr><tr><td>DeviceTypeRole</td></tr><tr><td>DeviceVidRole</td></tr><tr><td>ManualMarker</td></tr><tr><td>ZoomMax</td></tr><tr><td>ZoomMin</td></tr> |
55 <tr><td>DeviceBoardRole</td></tr><tr><td>DeviceInterfaceTypeRole</td></tr><tr><td>DevicePidRole</td></tr><tr><td>DevicePortRole</td></tr><tr><td>DeviceSerNoRole</td></tr><tr><td>DeviceTypeRole</td></tr><tr><td>DeviceVidRole</td></tr><tr><td>ManualMarker</td></tr><tr><td>ZoomMax</td></tr><tr><td>ZoomMin</td></tr> |
56 </table> |
56 </table> |
57 <h3>Class Methods</h3> |
57 <h3>Class Methods</h3> |
58 |
58 |
59 <table> |
59 <table> |
60 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
226 <tr> |
226 <tr> |
227 <td><a href="#MicroPythonWidget.eventFilter">eventFilter</a></td> |
227 <td><a href="#MicroPythonWidget.eventFilter">eventFilter</a></td> |
228 <td>Public method to process events for the REPL pane.</td> |
228 <td>Public method to process events for the REPL pane.</td> |
229 </tr> |
229 </tr> |
230 <tr> |
230 <tr> |
231 <td><a href="#MicroPythonWidget.getCurrentBoard">getCurrentBoard</a></td> |
|
232 <td>Public method to get the board name of the selected device.</td> |
|
233 </tr> |
|
234 <tr> |
|
235 <td><a href="#MicroPythonWidget.getCurrentPort">getCurrentPort</a></td> |
231 <td><a href="#MicroPythonWidget.getCurrentPort">getCurrentPort</a></td> |
236 <td>Public method to determine the port path of the selected device.</td> |
232 <td>Public method to determine the port path of the selected device.</td> |
237 </tr> |
233 </tr> |
238 <tr> |
234 <tr> |
239 <td><a href="#MicroPythonWidget.getDevice">getDevice</a></td> |
235 <td><a href="#MicroPythonWidget.getDevice">getDevice</a></td> |
384 |
380 |
385 <dt><i>withAutostart</i> (bool)</dt> |
381 <dt><i>withAutostart</i> (bool)</dt> |
386 <dd> |
382 <dd> |
387 flag indicating to start the repl and file manager |
383 flag indicating to start the repl and file manager |
388 automatically |
384 automatically |
|
385 </dd> |
|
386 </dl> |
|
387 <dl> |
|
388 |
|
389 <dt>Raises <b>ValueError</b>:</dt> |
|
390 <dd> |
|
391 raised to indicate an unsupported interface type |
389 </dd> |
392 </dd> |
390 </dl> |
393 </dl> |
391 <a NAME="MicroPythonWidget.__convertToUF2" ID="MicroPythonWidget.__convertToUF2"></a> |
394 <a NAME="MicroPythonWidget.__convertToUF2" ID="MicroPythonWidget.__convertToUF2"></a> |
392 <h4>MicroPythonWidget.__convertToUF2</h4> |
395 <h4>MicroPythonWidget.__convertToUF2</h4> |
393 <b>__convertToUF2</b>(<i></i>) |
396 <b>__convertToUF2</b>(<i></i>) |
845 <dt>Return Type:</dt> |
848 <dt>Return Type:</dt> |
846 <dd> |
849 <dd> |
847 bool |
850 bool |
848 </dd> |
851 </dd> |
849 </dl> |
852 </dl> |
850 <a NAME="MicroPythonWidget.getCurrentBoard" ID="MicroPythonWidget.getCurrentBoard"></a> |
|
851 <h4>MicroPythonWidget.getCurrentBoard</h4> |
|
852 <b>getCurrentBoard</b>(<i></i>) |
|
853 |
|
854 <p> |
|
855 Public method to get the board name of the selected device. |
|
856 </p> |
|
857 <dl> |
|
858 <dt>Return:</dt> |
|
859 <dd> |
|
860 board name of the selected device |
|
861 </dd> |
|
862 </dl> |
|
863 <dl> |
|
864 <dt>Return Type:</dt> |
|
865 <dd> |
|
866 str |
|
867 </dd> |
|
868 </dl> |
|
869 <a NAME="MicroPythonWidget.getCurrentPort" ID="MicroPythonWidget.getCurrentPort"></a> |
853 <a NAME="MicroPythonWidget.getCurrentPort" ID="MicroPythonWidget.getCurrentPort"></a> |
870 <h4>MicroPythonWidget.getCurrentPort</h4> |
854 <h4>MicroPythonWidget.getCurrentPort</h4> |
871 <b>getCurrentPort</b>(<i></i>) |
855 <b>getCurrentPort</b>(<i></i>) |
872 |
856 |
873 <p> |
857 <p> |