eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html

changeset 8104
96e9348ff55f
parent 8098
36d5f6786a9f
child 8138
169e65a6787c
diff -r 338fe0064e5a -r 96e9348ff55f eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html
--- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html	Sat Feb 13 20:07:45 2021 +0100
+++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html	Sun Feb 14 18:23:56 2021 +0100
@@ -166,6 +166,10 @@
 <td>Private slot to process bytes received from the device.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonWidget.__replEditMouseReleaseEvent">__replEditMouseReleaseEvent</a></td>
+<td>Private method handling mouse release events for the replEdit widget.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonWidget.__setCharFormat">__setCharFormat</a></td>
 <td>Private method setting the current text format of the REPL pane based on the passed ANSI codes.</td>
 </tr>
@@ -493,11 +497,18 @@
 </dl>
 <a NAME="MicroPythonWidget.__paste" ID="MicroPythonWidget.__paste"></a>
 <h4>MicroPythonWidget.__paste</h4>
-<b>__paste</b>(<i></i>)
+<b>__paste</b>(<i>mode=QClipboard.Mode.Clipboard</i>)
 
 <p>
         Private slot to perform a paste operation.
 </p>
+<dl>
+
+<dt><i>mode</i> (QClipboard.Mode (optional))</dt>
+<dd>
+paste mode (defaults to QClipboard.Mode.Clipboard)
+</dd>
+</dl>
 <a NAME="MicroPythonWidget.__populateDeviceTypeComboBox" ID="MicroPythonWidget.__populateDeviceTypeComboBox"></a>
 <h4>MicroPythonWidget.__populateDeviceTypeComboBox</h4>
 <b>__populateDeviceTypeComboBox</b>(<i></i>)
@@ -519,6 +530,26 @@
 bytes received from the device
 </dd>
 </dl>
+<a NAME="MicroPythonWidget.__replEditMouseReleaseEvent" ID="MicroPythonWidget.__replEditMouseReleaseEvent"></a>
+<h4>MicroPythonWidget.__replEditMouseReleaseEvent</h4>
+<b>__replEditMouseReleaseEvent</b>(<i>evt</i>)
+
+<p>
+        Private method handling mouse release events for the replEdit widget.
+</p>
+<p>
+        Note: this is a hack because QTextEdit does not allow filtering of
+        QEvent.MouseButtonRelease. To make middle button paste work, we had
+        to intercept the protected event method (some kind of reimplementing
+        it).
+</p>
+<dl>
+
+<dt><i>evt</i> (QMouseEvent)</dt>
+<dd>
+reference to the event object
+</dd>
+</dl>
 <a NAME="MicroPythonWidget.__setCharFormat" ID="MicroPythonWidget.__setCharFormat"></a>
 <h4>MicroPythonWidget.__setCharFormat</h4>
 <b>__setCharFormat</b>(<i>formatCodes, textCursor</i>)

eric ide

mercurial