266 <tr> |
266 <tr> |
267 <td><a href="#MicroPythonWidget.on_filesButton_clicked">on_filesButton_clicked</a></td> |
267 <td><a href="#MicroPythonWidget.on_filesButton_clicked">on_filesButton_clicked</a></td> |
268 <td>Private slot to open a file manager window to the connected device.</td> |
268 <td>Private slot to open a file manager window to the connected device.</td> |
269 </tr> |
269 </tr> |
270 <tr> |
270 <tr> |
271 <td><a href="#MicroPythonWidget.on_openButton_clicked">on_openButton_clicked</a></td> |
|
272 <td>Private slot to open a file of the connected device.</td> |
|
273 </tr> |
|
274 <tr> |
|
275 <td><a href="#MicroPythonWidget.on_replButton_clicked">on_replButton_clicked</a></td> |
271 <td><a href="#MicroPythonWidget.on_replButton_clicked">on_replButton_clicked</a></td> |
276 <td>Private slot to connect to enable or disable the REPL widget.</td> |
272 <td>Private slot to connect to enable or disable the REPL widget.</td> |
277 </tr> |
273 </tr> |
278 <tr> |
274 <tr> |
279 <td><a href="#MicroPythonWidget.on_runButton_clicked">on_runButton_clicked</a></td> |
275 <td><a href="#MicroPythonWidget.on_runButton_clicked">on_runButton_clicked</a></td> |
280 <td>Private slot to execute the script of the active editor on the selected device.</td> |
276 <td>Private slot to execute the script of the active editor on the selected device.</td> |
281 </tr> |
|
282 <tr> |
|
283 <td><a href="#MicroPythonWidget.on_saveButton_clicked">on_saveButton_clicked</a></td> |
|
284 <td>Private slot to save the current editor to the connected device.</td> |
|
285 </tr> |
277 </tr> |
286 <tr> |
278 <tr> |
287 <td><a href="#MicroPythonWidget.setActionButtons">setActionButtons</a></td> |
279 <td><a href="#MicroPythonWidget.setActionButtons">setActionButtons</a></td> |
288 <td>Public method to set the enabled state of the various action buttons.</td> |
280 <td>Public method to set the enabled state of the various action buttons.</td> |
289 </tr> |
281 </tr> |
357 <p> |
349 <p> |
358 Private slot to open the MicroPython configuration page. |
350 Private slot to open the MicroPython configuration page. |
359 </p> |
351 </p> |
360 <a NAME="MicroPythonWidget.__connectToDevice" ID="MicroPythonWidget.__connectToDevice"></a> |
352 <a NAME="MicroPythonWidget.__connectToDevice" ID="MicroPythonWidget.__connectToDevice"></a> |
361 <h4>MicroPythonWidget.__connectToDevice</h4> |
353 <h4>MicroPythonWidget.__connectToDevice</h4> |
362 <b>__connectToDevice</b>(<i></i>) |
354 <b>__connectToDevice</b>(<i>withAutostart=False</i>) |
363 |
355 |
364 <p> |
356 <p> |
365 Private method to connect to the selected device. |
357 Private method to connect to the selected device. |
366 </p> |
358 </p> |
|
359 <dl> |
|
360 |
|
361 <dt><i>withAutostart</i> (bool)</dt> |
|
362 <dd> |
|
363 flag indicating to start the repl and file manager |
|
364 automatically |
|
365 </dd> |
|
366 </dl> |
367 <a NAME="MicroPythonWidget.__crossCompile" ID="MicroPythonWidget.__crossCompile"></a> |
367 <a NAME="MicroPythonWidget.__crossCompile" ID="MicroPythonWidget.__crossCompile"></a> |
368 <h4>MicroPythonWidget.__crossCompile</h4> |
368 <h4>MicroPythonWidget.__crossCompile</h4> |
369 <b>__crossCompile</b>(<i>pythonFile="", title=""</i>) |
369 <b>__crossCompile</b>(<i>pythonFile="", title=""</i>) |
370 |
370 |
371 <p> |
371 <p> |
971 <dt><i>checked</i> (bool)</dt> |
971 <dt><i>checked</i> (bool)</dt> |
972 <dd> |
972 <dd> |
973 state of the button |
973 state of the button |
974 </dd> |
974 </dd> |
975 </dl> |
975 </dl> |
976 <a NAME="MicroPythonWidget.on_openButton_clicked" ID="MicroPythonWidget.on_openButton_clicked"></a> |
|
977 <h4>MicroPythonWidget.on_openButton_clicked</h4> |
|
978 <b>on_openButton_clicked</b>(<i></i>) |
|
979 |
|
980 <p> |
|
981 Private slot to open a file of the connected device. |
|
982 </p> |
|
983 <a NAME="MicroPythonWidget.on_replButton_clicked" ID="MicroPythonWidget.on_replButton_clicked"></a> |
976 <a NAME="MicroPythonWidget.on_replButton_clicked" ID="MicroPythonWidget.on_replButton_clicked"></a> |
984 <h4>MicroPythonWidget.on_replButton_clicked</h4> |
977 <h4>MicroPythonWidget.on_replButton_clicked</h4> |
985 <b>on_replButton_clicked</b>(<i>checked</i>) |
978 <b>on_replButton_clicked</b>(<i>checked</i>) |
986 |
979 |
987 <p> |
980 <p> |
1007 </p> |
1000 </p> |
1008 <p> |
1001 <p> |
1009 If the REPL is not active yet, it will be activated, which might cause |
1002 If the REPL is not active yet, it will be activated, which might cause |
1010 an unconnected device to be connected. |
1003 an unconnected device to be connected. |
1011 </p> |
1004 </p> |
1012 <a NAME="MicroPythonWidget.on_saveButton_clicked" ID="MicroPythonWidget.on_saveButton_clicked"></a> |
|
1013 <h4>MicroPythonWidget.on_saveButton_clicked</h4> |
|
1014 <b>on_saveButton_clicked</b>(<i></i>) |
|
1015 |
|
1016 <p> |
|
1017 Private slot to save the current editor to the connected device. |
|
1018 </p> |
|
1019 <a NAME="MicroPythonWidget.setActionButtons" ID="MicroPythonWidget.setActionButtons"></a> |
1005 <a NAME="MicroPythonWidget.setActionButtons" ID="MicroPythonWidget.setActionButtons"></a> |
1020 <h4>MicroPythonWidget.setActionButtons</h4> |
1006 <h4>MicroPythonWidget.setActionButtons</h4> |
1021 <b>setActionButtons</b>(<i>**kwargs</i>) |
1007 <b>setActionButtons</b>(<i>**kwargs</i>) |
1022 |
1008 |
1023 <p> |
1009 <p> |