diff -r 0c6d32ec64f1 -r 6abcf4275d0e eric6/Documentation/Source/eric6.UI.PythonDisViewer.html --- a/eric6/Documentation/Source/eric6.UI.PythonDisViewer.html Sun Sep 20 18:32:43 2020 +0200 +++ b/eric6/Documentation/Source/eric6.UI.PythonDisViewer.html Mon Sep 21 19:03:35 2020 +0200 @@ -39,6 +39,10 @@ <td><a href="#PythonDisViewer">PythonDisViewer</a></td> <td>Class implementing a widget to visualize the Python Disassembly for some Python sources.</td> </tr> +<tr> +<td><a href="#PythonDisViewerModes">PythonDisViewerModes</a></td> +<td>Class implementing the disassembly viewer operation modes.</td> +</tr> </table> <h3>Functions</h3> @@ -115,6 +119,10 @@ <td>Private slot to handle a change of the current editor.</td> </tr> <tr> +<td><a href="#PythonDisViewer.__editorLanguageChanged">__editorLanguageChanged</a></td> +<td>Private slot to handle a change of the editor language.</td> +</tr> +<tr> <td><a href="#PythonDisViewer.__editorLineChanged">__editorLineChanged</a></td> <td>Private slot to handle a mouse button double click in the editor.</td> </tr> @@ -127,10 +135,6 @@ <td>Private slot to expand all items.</td> </tr> <tr> -<td><a href="#PythonDisViewer.__grabFocus">__grabFocus</a></td> -<td>Private method to grab the input focus.</td> -</tr> -<tr> <td><a href="#PythonDisViewer.__lastEditorClosed">__lastEditorClosed</a></td> <td>Private slot to handle the last editor closed signal of the view manager.</td> </tr> @@ -151,6 +155,10 @@ <td>Private slot to select the items corresponding with the cursor line of the current editor.</td> </tr> <tr> +<td><a href="#PythonDisViewer.__styleLabels">__styleLabels</a></td> +<td>Private method to style the info labels iaw.</td> +</tr> +<tr> <td><a href="#PythonDisViewer.__tryCompile">__tryCompile</a></td> <td>Private method to attempt to compile the given source, first as an expression and then as a statement if the first approach fails.</td> </tr> @@ -159,6 +167,10 @@ <td>Private method to update an items end line based on its children.</td> </tr> <tr> +<td><a href="#PythonDisViewer.clear">clear</a></td> +<td>Public method to clear the display.</td> +</tr> +<tr> <td><a href="#PythonDisViewer.hide">hide</a></td> <td>Public slot to hide the DIS viewer.</td> </tr> @@ -175,6 +187,10 @@ <td>Public slot to show the DIS viewer.</td> </tr> <tr> +<td><a href="#PythonDisViewer.showDisassembly">showDisassembly</a></td> +<td>Public slot to receive a code disassembly from the debug client.</td> +</tr> +<tr> <td><a href="#PythonDisViewer.shutdown">shutdown</a></td> <td>Public method to perform shutdown actions.</td> </tr> @@ -187,7 +203,7 @@ <a NAME="PythonDisViewer.__init__" ID="PythonDisViewer.__init__"></a> <h4>PythonDisViewer (Constructor)</h4> -<b>PythonDisViewer</b>(<i>viewmanager, parent=None</i>) +<b>PythonDisViewer</b>(<i>viewmanager, mode=PythonDisViewerModes.SourceDisassemblyMode, parent=None</i>) <p> Constructor @@ -198,6 +214,10 @@ <dd> reference to the viewmanager object </dd> +<dt><i>mode</i> (int)</dt> +<dd> +operation mode of the viewer +</dd> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget @@ -397,6 +417,20 @@ reference to the current editor </dd> </dl> +<a NAME="PythonDisViewer.__editorLanguageChanged" ID="PythonDisViewer.__editorLanguageChanged"></a> +<h4>PythonDisViewer.__editorLanguageChanged</h4> +<b>__editorLanguageChanged</b>(<i>editor</i>) + +<p> + Private slot to handle a change of the editor language. +</p> +<dl> + +<dt><i>editor</i> (Editor)</dt> +<dd> +reference to the editor which changed language +</dd> +</dl> <a NAME="PythonDisViewer.__editorLineChanged" ID="PythonDisViewer.__editorLineChanged"></a> <h4>PythonDisViewer.__editorLineChanged</h4> <b>__editorLineChanged</b>(<i>editor, lineno</i>) @@ -437,13 +471,6 @@ <p> Private slot to expand all items. </p> -<a NAME="PythonDisViewer.__grabFocus" ID="PythonDisViewer.__grabFocus"></a> -<h4>PythonDisViewer.__grabFocus</h4> -<b>__grabFocus</b>(<i></i>) - -<p> - Private method to grab the input focus. -</p> <a NAME="PythonDisViewer.__lastEditorClosed" ID="PythonDisViewer.__lastEditorClosed"></a> <h4>PythonDisViewer.__lastEditorClosed</h4> <b>__lastEditorClosed</b>(<i></i>) @@ -494,6 +521,13 @@ Private slot to select the items corresponding with the cursor line of the current editor. </p> +<a NAME="PythonDisViewer.__styleLabels" ID="PythonDisViewer.__styleLabels"></a> +<h4>PythonDisViewer.__styleLabels</h4> +<b>__styleLabels</b>(<i></i>) + +<p> + Private method to style the info labels iaw. selected colors. +</p> <a NAME="PythonDisViewer.__tryCompile" ID="PythonDisViewer.__tryCompile"></a> <h4>PythonDisViewer.__tryCompile</h4> <b>__tryCompile</b>(<i>source, name</i>) @@ -539,6 +573,13 @@ reference to the item to be updated </dd> </dl> +<a NAME="PythonDisViewer.clear" ID="PythonDisViewer.clear"></a> +<h4>PythonDisViewer.clear</h4> +<b>clear</b>(<i></i>) + +<p> + Public method to clear the display. +</p> <a NAME="PythonDisViewer.hide" ID="PythonDisViewer.hide"></a> <h4>PythonDisViewer.hide</h4> <b>hide</b>(<i></i>) @@ -574,6 +615,20 @@ <p> Public slot to show the DIS viewer. </p> +<a NAME="PythonDisViewer.showDisassembly" ID="PythonDisViewer.showDisassembly"></a> +<h4>PythonDisViewer.showDisassembly</h4> +<b>showDisassembly</b>(<i>disassembly</i>) + +<p> + Public slot to receive a code disassembly from the debug client. +</p> +<dl> + +<dt><i>disassembly</i> (dict)</dt> +<dd> +dictionary containing the disassembly information +</dd> +</dl> <a NAME="PythonDisViewer.shutdown" ID="PythonDisViewer.shutdown"></a> <h4>PythonDisViewer.shutdown</h4> <b>shutdown</b>(<i></i>) @@ -583,4 +638,36 @@ </p> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="PythonDisViewerModes" ID="PythonDisViewerModes"></a> +<h2>PythonDisViewerModes</h2> + +<p> + Class implementing the disassembly viewer operation modes. +</p> +<h3>Derived from</h3> +enum.Enum +<h3>Class Attributes</h3> + +<table> +<tr><td>SourceDisassemblyMode</td></tr><tr><td>TracebackMode</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file