164 <tr> |
164 <tr> |
165 <td><a href="#MicroPythonWidget.__processData">__processData</a></td> |
165 <td><a href="#MicroPythonWidget.__processData">__processData</a></td> |
166 <td>Private slot to process bytes received from the device.</td> |
166 <td>Private slot to process bytes received from the device.</td> |
167 </tr> |
167 </tr> |
168 <tr> |
168 <tr> |
|
169 <td><a href="#MicroPythonWidget.__replEditMouseReleaseEvent">__replEditMouseReleaseEvent</a></td> |
|
170 <td>Private method handling mouse release events for the replEdit widget.</td> |
|
171 </tr> |
|
172 <tr> |
169 <td><a href="#MicroPythonWidget.__setCharFormat">__setCharFormat</a></td> |
173 <td><a href="#MicroPythonWidget.__setCharFormat">__setCharFormat</a></td> |
170 <td>Private method setting the current text format of the REPL pane based on the passed ANSI codes.</td> |
174 <td>Private method setting the current text format of the REPL pane based on the passed ANSI codes.</td> |
171 </tr> |
175 </tr> |
172 <tr> |
176 <tr> |
173 <td><a href="#MicroPythonWidget.__setConnected">__setConnected</a></td> |
177 <td><a href="#MicroPythonWidget.__setConnected">__setConnected</a></td> |
491 bool |
495 bool |
492 </dd> |
496 </dd> |
493 </dl> |
497 </dl> |
494 <a NAME="MicroPythonWidget.__paste" ID="MicroPythonWidget.__paste"></a> |
498 <a NAME="MicroPythonWidget.__paste" ID="MicroPythonWidget.__paste"></a> |
495 <h4>MicroPythonWidget.__paste</h4> |
499 <h4>MicroPythonWidget.__paste</h4> |
496 <b>__paste</b>(<i></i>) |
500 <b>__paste</b>(<i>mode=QClipboard.Mode.Clipboard</i>) |
497 |
501 |
498 <p> |
502 <p> |
499 Private slot to perform a paste operation. |
503 Private slot to perform a paste operation. |
500 </p> |
504 </p> |
|
505 <dl> |
|
506 |
|
507 <dt><i>mode</i> (QClipboard.Mode (optional))</dt> |
|
508 <dd> |
|
509 paste mode (defaults to QClipboard.Mode.Clipboard) |
|
510 </dd> |
|
511 </dl> |
501 <a NAME="MicroPythonWidget.__populateDeviceTypeComboBox" ID="MicroPythonWidget.__populateDeviceTypeComboBox"></a> |
512 <a NAME="MicroPythonWidget.__populateDeviceTypeComboBox" ID="MicroPythonWidget.__populateDeviceTypeComboBox"></a> |
502 <h4>MicroPythonWidget.__populateDeviceTypeComboBox</h4> |
513 <h4>MicroPythonWidget.__populateDeviceTypeComboBox</h4> |
503 <b>__populateDeviceTypeComboBox</b>(<i></i>) |
514 <b>__populateDeviceTypeComboBox</b>(<i></i>) |
504 |
515 |
505 <p> |
516 <p> |
515 <dl> |
526 <dl> |
516 |
527 |
517 <dt><i>data</i> (bytes)</dt> |
528 <dt><i>data</i> (bytes)</dt> |
518 <dd> |
529 <dd> |
519 bytes received from the device |
530 bytes received from the device |
|
531 </dd> |
|
532 </dl> |
|
533 <a NAME="MicroPythonWidget.__replEditMouseReleaseEvent" ID="MicroPythonWidget.__replEditMouseReleaseEvent"></a> |
|
534 <h4>MicroPythonWidget.__replEditMouseReleaseEvent</h4> |
|
535 <b>__replEditMouseReleaseEvent</b>(<i>evt</i>) |
|
536 |
|
537 <p> |
|
538 Private method handling mouse release events for the replEdit widget. |
|
539 </p> |
|
540 <p> |
|
541 Note: this is a hack because QTextEdit does not allow filtering of |
|
542 QEvent.MouseButtonRelease. To make middle button paste work, we had |
|
543 to intercept the protected event method (some kind of reimplementing |
|
544 it). |
|
545 </p> |
|
546 <dl> |
|
547 |
|
548 <dt><i>evt</i> (QMouseEvent)</dt> |
|
549 <dd> |
|
550 reference to the event object |
520 </dd> |
551 </dd> |
521 </dl> |
552 </dl> |
522 <a NAME="MicroPythonWidget.__setCharFormat" ID="MicroPythonWidget.__setCharFormat"></a> |
553 <a NAME="MicroPythonWidget.__setCharFormat" ID="MicroPythonWidget.__setCharFormat"></a> |
523 <h4>MicroPythonWidget.__setCharFormat</h4> |
554 <h4>MicroPythonWidget.__setCharFormat</h4> |
524 <b>__setCharFormat</b>(<i>formatCodes, textCursor</i>) |
555 <b>__setCharFormat</b>(<i>formatCodes, textCursor</i>) |