src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html

branch
mpy_network
changeset 10015
9352f33732ae
parent 9990
54c614d91eff
child 10428
a071d4065202
diff -r 951a8d558e23 -r 9352f33732ae src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html	Thu May 04 17:33:16 2023 +0200
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonWidget.html	Thu May 04 17:34:24 2023 +0200
@@ -14,7 +14,7 @@
 <h3>Global Attributes</h3>
 
 <table>
-<tr><td>AnsiColorSchemes</td></tr>
+<tr><td>None</td></tr>
 </table>
 <h3>Classes</h3>
 
@@ -52,7 +52,7 @@
 <h3>Class Attributes</h3>
 
 <table>
-<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>
+<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>DeviceWebreplUrlRole</td></tr><tr><td>ManualMarker</td></tr>
 </table>
 <h3>Class Methods</h3>
 
@@ -76,10 +76,6 @@
 <td>Private method to add devices to the list of manually added boards.</td>
 </tr>
 <tr>
-<td><a href="#MicroPythonWidget.__clear">__clear</a></td>
-<td>Private slot to clear the REPL pane.</td>
-</tr>
-<tr>
 <td><a href="#MicroPythonWidget.__compileEditor2Mpy">__compileEditor2Mpy</a></td>
 <td>Private slot to cross compile the current editor to a .mpy file.</td>
 </tr>
@@ -92,6 +88,10 @@
 <td>Private slot to open the MicroPython configuration page.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonWidget.__configureWebreplUrls">__configureWebreplUrls</a></td>
+<td>Private slot to configure the list of selectable WebREPL URLs.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonWidget.__connectToDevice">__connectToDevice</a></td>
 <td>Private method to connect to the selected device.</td>
 </tr>
@@ -108,10 +108,6 @@
 <td>Private method to disconnect from the device.</td>
 </tr>
 <tr>
-<td><a href="#MicroPythonWidget.__doZoom">__doZoom</a></td>
-<td>Private slot to zoom the REPL pane.</td>
-</tr>
-<tr>
 <td><a href="#MicroPythonWidget.__downloadFirmware">__downloadFirmware</a></td>
 <td>Private slot to open the firmware download page.</td>
 </tr>
@@ -148,26 +144,10 @@
 <td>Private method to check the availability of mpy-cross.</td>
 </tr>
 <tr>
-<td><a href="#MicroPythonWidget.__paste">__paste</a></td>
-<td>Private slot to perform a paste operation.</td>
-</tr>
-<tr>
 <td><a href="#MicroPythonWidget.__populateDeviceTypeComboBox">__populateDeviceTypeComboBox</a></td>
 <td>Private method to populate the device type selector.</td>
 </tr>
 <tr>
-<td><a href="#MicroPythonWidget.__processData">__processData</a></td>
-<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>
-<tr>
 <td><a href="#MicroPythonWidget.__setConnected">__setConnected</a></td>
 <td>Private method to set the connection status LED.</td>
 </tr>
@@ -180,10 +160,6 @@
 <td>Private slot to show a list of builtin modules.</td>
 </tr>
 <tr>
-<td><a href="#MicroPythonWidget.__showContextMenu">__showContextMenu</a></td>
-<td>Private slot to show the REPL context menu.</td>
-</tr>
-<tr>
 <td><a href="#MicroPythonWidget.__showDeviceTime">__showDeviceTime</a></td>
 <td>Private slot to show the date and time of the connected device.</td>
 </tr>
@@ -224,10 +200,6 @@
 <td>Public method to indicate that the device access the device file system via a local directory.</td>
 </tr>
 <tr>
-<td><a href="#MicroPythonWidget.eventFilter">eventFilter</a></td>
-<td>Public method to process events for the REPL pane.</td>
-</tr>
-<tr>
 <td><a href="#MicroPythonWidget.getCurrentPort">getCurrentPort</a></td>
 <td>Public method to determine the port path of the selected device.</td>
 </tr>
@@ -264,10 +236,6 @@
 <td>Private slot to open a chart view to plot data received from the connected device.</td>
 </tr>
 <tr>
-<td><a href="#MicroPythonWidget.on_checkButton_clicked">on_checkButton_clicked</a></td>
-<td>Private slot to check for connected devices.</td>
-</tr>
-<tr>
 <td><a href="#MicroPythonWidget.on_connectButton_clicked">on_connectButton_clicked</a></td>
 <td>Private slot to connect to the selected device or disconnect from the currently connected device.</td>
 </tr>
@@ -341,13 +309,6 @@
 list of not ignored but unknown devices
 </dd>
 </dl>
-<a NAME="MicroPythonWidget.__clear" ID="MicroPythonWidget.__clear"></a>
-<h4>MicroPythonWidget.__clear</h4>
-<b>__clear</b>(<i></i>)
-
-<p>
-        Private slot to clear the REPL pane.
-</p>
 <a NAME="MicroPythonWidget.__compileEditor2Mpy" ID="MicroPythonWidget.__compileEditor2Mpy"></a>
 <h4>MicroPythonWidget.__compileEditor2Mpy</h4>
 <b>__compileEditor2Mpy</b>(<i></i>)
@@ -369,6 +330,13 @@
 <p>
         Private slot to open the MicroPython configuration page.
 </p>
+<a NAME="MicroPythonWidget.__configureWebreplUrls" ID="MicroPythonWidget.__configureWebreplUrls"></a>
+<h4>MicroPythonWidget.__configureWebreplUrls</h4>
+<b>__configureWebreplUrls</b>(<i></i>)
+
+<p>
+        Private slot to configure the list of selectable WebREPL URLs.
+</p>
 <a NAME="MicroPythonWidget.__connectToDevice" ID="MicroPythonWidget.__connectToDevice"></a>
 <h4>MicroPythonWidget.__connectToDevice</h4>
 <b>__connectToDevice</b>(<i>withAutostart=False</i>)
@@ -423,20 +391,6 @@
 <p>
         Private method to disconnect from the device.
 </p>
-<a NAME="MicroPythonWidget.__doZoom" ID="MicroPythonWidget.__doZoom"></a>
-<h4>MicroPythonWidget.__doZoom</h4>
-<b>__doZoom</b>(<i>value</i>)
-
-<p>
-        Private slot to zoom the REPL pane.
-</p>
-<dl>
-
-<dt><i>value</i> (int)</dt>
-<dd>
-zoom value
-</dd>
-</dl>
 <a NAME="MicroPythonWidget.__downloadFirmware" ID="MicroPythonWidget.__downloadFirmware"></a>
 <h4>MicroPythonWidget.__downloadFirmware</h4>
 <b>__downloadFirmware</b>(<i></i>)
@@ -549,20 +503,6 @@
 bool
 </dd>
 </dl>
-<a NAME="MicroPythonWidget.__paste" ID="MicroPythonWidget.__paste"></a>
-<h4>MicroPythonWidget.__paste</h4>
-<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>)
@@ -570,111 +510,6 @@
 <p>
         Private method to populate the device type selector.
 </p>
-<a NAME="MicroPythonWidget.__processData" ID="MicroPythonWidget.__processData"></a>
-<h4>MicroPythonWidget.__processData</h4>
-<b>__processData</b>(<i>data</i>)
-
-<p>
-        Private slot to process bytes received from the device.
-</p>
-<dl>
-
-<dt><i>data</i> (bytes)</dt>
-<dd>
-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.Type.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>)
-
-<p>
-        Private method setting the current text format of the REPL pane based
-        on the passed ANSI codes.
-</p>
-<p>
-        Following codes are used:
-        <ul>
-        <li>0: Reset</li>
-        <li>1: Bold font (weight 75)</li>
-        <li>2: Light font (weight 25)</li>
-        <li>3: Italic font</li>
-        <li>4: Underlined font</li>
-        <li>9: Strikeout font</li>
-        <li>21: Bold off (weight 50)</li>
-        <li>22: Light off (weight 50)</li>
-        <li>23: Italic off</li>
-        <li>24: Underline off</li>
-        <li>29: Strikeout off</li>
-        <li>30: foreground Black</li>
-        <li>31: foreground Dark Red</li>
-        <li>32: foreground Dark Green</li>
-        <li>33: foreground Dark Yellow</li>
-        <li>34: foreground Dark Blue</li>
-        <li>35: foreground Dark Magenta</li>
-        <li>36: foreground Dark Cyan</li>
-        <li>37: foreground Light Gray</li>
-        <li>39: reset foreground to default</li>
-        <li>40: background Black</li>
-        <li>41: background Dark Red</li>
-        <li>42: background Dark Green</li>
-        <li>43: background Dark Yellow</li>
-        <li>44: background Dark Blue</li>
-        <li>45: background Dark Magenta</li>
-        <li>46: background Dark Cyan</li>
-        <li>47: background Light Gray</li>
-        <li>49: reset background to default</li>
-        <li>53: Overlined font</li>
-        <li>55: Overline off</li>
-        <li>90: bright foreground Dark Gray</li>
-        <li>91: bright foreground Red</li>
-        <li>92: bright foreground Green</li>
-        <li>93: bright foreground Yellow</li>
-        <li>94: bright foreground Blue</li>
-        <li>95: bright foreground Magenta</li>
-        <li>96: bright foreground Cyan</li>
-        <li>97: bright foreground White</li>
-        <li>100: bright background Dark Gray</li>
-        <li>101: bright background Red</li>
-        <li>102: bright background Green</li>
-        <li>103: bright background Yellow</li>
-        <li>104: bright background Blue</li>
-        <li>105: bright background Magenta</li>
-        <li>106: bright background Cyan</li>
-        <li>107: bright background White</li>
-        </ul>
-</p>
-<dl>
-
-<dt><i>formatCodes</i> (list of str)</dt>
-<dd>
-list of format codes
-</dd>
-<dt><i>textCursor</i> (QTextCursor)</dt>
-<dd>
-reference to the text cursor
-</dd>
-</dl>
 <a NAME="MicroPythonWidget.__setConnected" ID="MicroPythonWidget.__setConnected"></a>
 <h4>MicroPythonWidget.__setConnected</h4>
 <b>__setConnected</b>(<i>connected</i>)
@@ -703,20 +538,6 @@
 <p>
         Private slot to show a list of builtin modules.
 </p>
-<a NAME="MicroPythonWidget.__showContextMenu" ID="MicroPythonWidget.__showContextMenu"></a>
-<h4>MicroPythonWidget.__showContextMenu</h4>
-<b>__showContextMenu</b>(<i>pos</i>)
-
-<p>
-        Private slot to show the REPL context menu.
-</p>
-<dl>
-
-<dt><i>pos</i> (QPoint)</dt>
-<dd>
-position to show the menu at
-</dd>
-</dl>
 <a NAME="MicroPythonWidget.__showDeviceTime" ID="MicroPythonWidget.__showDeviceTime"></a>
 <h4>MicroPythonWidget.__showDeviceTime</h4>
 <b>__showDeviceTime</b>(<i></i>)
@@ -820,36 +641,6 @@
 bool
 </dd>
 </dl>
-<a NAME="MicroPythonWidget.eventFilter" ID="MicroPythonWidget.eventFilter"></a>
-<h4>MicroPythonWidget.eventFilter</h4>
-<b>eventFilter</b>(<i>obj, evt</i>)
-
-<p>
-        Public method to process events for the REPL pane.
-</p>
-<dl>
-
-<dt><i>obj</i> (QObject)</dt>
-<dd>
-reference to the object the event was meant for
-</dd>
-<dt><i>evt</i> (QEvent)</dt>
-<dd>
-reference to the event object
-</dd>
-</dl>
-<dl>
-<dt>Return:</dt>
-<dd>
-flag to indicate that the event was handled
-</dd>
-</dl>
-<dl>
-<dt>Return Type:</dt>
-<dd>
-bool
-</dd>
-</dl>
 <a NAME="MicroPythonWidget.getCurrentPort" ID="MicroPythonWidget.getCurrentPort"></a>
 <h4>MicroPythonWidget.getCurrentPort</h4>
 <b>getCurrentPort</b>(<i></i>)
@@ -1004,13 +795,6 @@
 state of the button
 </dd>
 </dl>
-<a NAME="MicroPythonWidget.on_checkButton_clicked" ID="MicroPythonWidget.on_checkButton_clicked"></a>
-<h4>MicroPythonWidget.on_checkButton_clicked</h4>
-<b>on_checkButton_clicked</b>(<i></i>)
-
-<p>
-        Private slot to check for connected devices.
-</p>
 <a NAME="MicroPythonWidget.on_connectButton_clicked" ID="MicroPythonWidget.on_connectButton_clicked"></a>
 <h4>MicroPythonWidget.on_connectButton_clicked</h4>
 <b>on_connectButton_clicked</b>(<i></i>)

eric ide

mercurial