39 </p> |
39 </p> |
40 |
40 |
41 <h3>Signals</h3> |
41 <h3>Signals</h3> |
42 <dl> |
42 <dl> |
43 |
43 |
|
44 <dt>aboutToDisconnect()</dt> |
|
45 <dd> |
|
46 emitted to indicate the imminent disconnect from the |
|
47 currently device |
|
48 </dd> |
44 <dt>dataReceived(data)</dt> |
49 <dt>dataReceived(data)</dt> |
45 <dd> |
50 <dd> |
46 emitted to send data received via the serial |
51 emitted to send data received via the serial |
47 connection for further processing |
52 connection for further processing |
|
53 </dd> |
|
54 <dt>disconnected()</dt> |
|
55 <dd> |
|
56 emitted after the device was disconnected |
48 </dd> |
57 </dd> |
49 </dl> |
58 </dl> |
50 <h3>Derived from</h3> |
59 <h3>Derived from</h3> |
51 QWidget, Ui_MicroPythonWidget |
60 QWidget, Ui_MicroPythonWidget |
52 <h3>Class Attributes</h3> |
61 <h3>Class Attributes</h3> |
152 <tr> |
161 <tr> |
153 <td><a href="#MicroPythonWidget.__populateDeviceTypeComboBox">__populateDeviceTypeComboBox</a></td> |
162 <td><a href="#MicroPythonWidget.__populateDeviceTypeComboBox">__populateDeviceTypeComboBox</a></td> |
154 <td>Private method to populate the device type selector.</td> |
163 <td>Private method to populate the device type selector.</td> |
155 </tr> |
164 </tr> |
156 <tr> |
165 <tr> |
|
166 <td><a href="#MicroPythonWidget.__quit">__quit</a></td> |
|
167 <td>Private slot to quit the main (MicroPython) window.</td> |
|
168 </tr> |
|
169 <tr> |
157 <td><a href="#MicroPythonWidget.__setConnected">__setConnected</a></td> |
170 <td><a href="#MicroPythonWidget.__setConnected">__setConnected</a></td> |
158 <td>Private method to set the connection status LED.</td> |
171 <td>Private method to set the connection status LED.</td> |
159 </tr> |
172 </tr> |
160 <tr> |
173 <tr> |
161 <td><a href="#MicroPythonWidget.__showBoardInformation">__showBoardInformation</a></td> |
174 <td><a href="#MicroPythonWidget.__showBoardInformation">__showBoardInformation</a></td> |
281 </table> |
294 </table> |
282 |
295 |
283 |
296 |
284 <a NAME="MicroPythonWidget.__init__" ID="MicroPythonWidget.__init__"></a> |
297 <a NAME="MicroPythonWidget.__init__" ID="MicroPythonWidget.__init__"></a> |
285 <h4>MicroPythonWidget (Constructor)</h4> |
298 <h4>MicroPythonWidget (Constructor)</h4> |
286 <b>MicroPythonWidget</b>(<i>parent=None</i>) |
299 <b>MicroPythonWidget</b>(<i>parent=None, forMPyWindow=False</i>) |
287 <p> |
300 <p> |
288 Constructor |
301 Constructor |
289 </p> |
302 </p> |
290 |
303 |
291 <dl> |
304 <dl> |
292 |
305 |
293 <dt><i>parent</i> (QWidget)</dt> |
306 <dt><i>parent</i> (QWidget (optional))</dt> |
294 <dd> |
307 <dd> |
295 reference to the parent widget |
308 reference to the parent widget (defaults to None) |
|
309 </dd> |
|
310 <dt><i>forMPyWindow</i> (bool (optional))</dt> |
|
311 <dd> |
|
312 flag indicating the MicroPythonWindow variant |
|
313 (defaults to False) |
296 </dd> |
314 </dd> |
297 </dl> |
315 </dl> |
298 <a NAME="MicroPythonWidget.__aboutToShowSuperMenu" ID="MicroPythonWidget.__aboutToShowSuperMenu"></a> |
316 <a NAME="MicroPythonWidget.__aboutToShowSuperMenu" ID="MicroPythonWidget.__aboutToShowSuperMenu"></a> |
299 <h4>MicroPythonWidget.__aboutToShowSuperMenu</h4> |
317 <h4>MicroPythonWidget.__aboutToShowSuperMenu</h4> |
300 <b>__aboutToShowSuperMenu</b>(<i></i>) |
318 <b>__aboutToShowSuperMenu</b>(<i></i>) |
515 <b>__populateDeviceTypeComboBox</b>(<i></i>) |
533 <b>__populateDeviceTypeComboBox</b>(<i></i>) |
516 <p> |
534 <p> |
517 Private method to populate the device type selector. |
535 Private method to populate the device type selector. |
518 </p> |
536 </p> |
519 |
537 |
|
538 <a NAME="MicroPythonWidget.__quit" ID="MicroPythonWidget.__quit"></a> |
|
539 <h4>MicroPythonWidget.__quit</h4> |
|
540 <b>__quit</b>(<i></i>) |
|
541 <p> |
|
542 Private slot to quit the main (MicroPython) window. |
|
543 </p> |
|
544 |
520 <a NAME="MicroPythonWidget.__setConnected" ID="MicroPythonWidget.__setConnected"></a> |
545 <a NAME="MicroPythonWidget.__setConnected" ID="MicroPythonWidget.__setConnected"></a> |
521 <h4>MicroPythonWidget.__setConnected</h4> |
546 <h4>MicroPythonWidget.__setConnected</h4> |
522 <b>__setConnected</b>(<i>connected</i>) |
547 <b>__setConnected</b>(<i>connected</i>) |
523 <p> |
548 <p> |
524 Private method to set the connection status LED. |
549 Private method to set the connection status LED. |