113 <tr> |
117 <tr> |
114 <td><a href="#PythonDisViewer.__editorChanged">__editorChanged</a></td> |
118 <td><a href="#PythonDisViewer.__editorChanged">__editorChanged</a></td> |
115 <td>Private slot to handle a change of the current editor.</td> |
119 <td>Private slot to handle a change of the current editor.</td> |
116 </tr> |
120 </tr> |
117 <tr> |
121 <tr> |
|
122 <td><a href="#PythonDisViewer.__editorLanguageChanged">__editorLanguageChanged</a></td> |
|
123 <td>Private slot to handle a change of the editor language.</td> |
|
124 </tr> |
|
125 <tr> |
118 <td><a href="#PythonDisViewer.__editorLineChanged">__editorLineChanged</a></td> |
126 <td><a href="#PythonDisViewer.__editorLineChanged">__editorLineChanged</a></td> |
119 <td>Private slot to handle a mouse button double click in the editor.</td> |
127 <td>Private slot to handle a mouse button double click in the editor.</td> |
120 </tr> |
128 </tr> |
121 <tr> |
129 <tr> |
122 <td><a href="#PythonDisViewer.__editorSaved">__editorSaved</a></td> |
130 <td><a href="#PythonDisViewer.__editorSaved">__editorSaved</a></td> |
125 <tr> |
133 <tr> |
126 <td><a href="#PythonDisViewer.__expandAll">__expandAll</a></td> |
134 <td><a href="#PythonDisViewer.__expandAll">__expandAll</a></td> |
127 <td>Private slot to expand all items.</td> |
135 <td>Private slot to expand all items.</td> |
128 </tr> |
136 </tr> |
129 <tr> |
137 <tr> |
130 <td><a href="#PythonDisViewer.__grabFocus">__grabFocus</a></td> |
|
131 <td>Private method to grab the input focus.</td> |
|
132 </tr> |
|
133 <tr> |
|
134 <td><a href="#PythonDisViewer.__lastEditorClosed">__lastEditorClosed</a></td> |
138 <td><a href="#PythonDisViewer.__lastEditorClosed">__lastEditorClosed</a></td> |
135 <td>Private slot to handle the last editor closed signal of the view manager.</td> |
139 <td>Private slot to handle the last editor closed signal of the view manager.</td> |
136 </tr> |
140 </tr> |
137 <tr> |
141 <tr> |
138 <td><a href="#PythonDisViewer.__loadDIS">__loadDIS</a></td> |
142 <td><a href="#PythonDisViewer.__loadDIS">__loadDIS</a></td> |
149 <tr> |
153 <tr> |
150 <td><a href="#PythonDisViewer.__selectItemForEditorLine">__selectItemForEditorLine</a></td> |
154 <td><a href="#PythonDisViewer.__selectItemForEditorLine">__selectItemForEditorLine</a></td> |
151 <td>Private slot to select the items corresponding with the cursor line of the current editor.</td> |
155 <td>Private slot to select the items corresponding with the cursor line of the current editor.</td> |
152 </tr> |
156 </tr> |
153 <tr> |
157 <tr> |
|
158 <td><a href="#PythonDisViewer.__styleLabels">__styleLabels</a></td> |
|
159 <td>Private method to style the info labels iaw.</td> |
|
160 </tr> |
|
161 <tr> |
154 <td><a href="#PythonDisViewer.__tryCompile">__tryCompile</a></td> |
162 <td><a href="#PythonDisViewer.__tryCompile">__tryCompile</a></td> |
155 <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> |
163 <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> |
156 </tr> |
164 </tr> |
157 <tr> |
165 <tr> |
158 <td><a href="#PythonDisViewer.__updateItemEndLine">__updateItemEndLine</a></td> |
166 <td><a href="#PythonDisViewer.__updateItemEndLine">__updateItemEndLine</a></td> |
159 <td>Private method to update an items end line based on its children.</td> |
167 <td>Private method to update an items end line based on its children.</td> |
160 </tr> |
168 </tr> |
161 <tr> |
169 <tr> |
|
170 <td><a href="#PythonDisViewer.clear">clear</a></td> |
|
171 <td>Public method to clear the display.</td> |
|
172 </tr> |
|
173 <tr> |
162 <td><a href="#PythonDisViewer.hide">hide</a></td> |
174 <td><a href="#PythonDisViewer.hide">hide</a></td> |
163 <td>Public slot to hide the DIS viewer.</td> |
175 <td>Public slot to hide the DIS viewer.</td> |
164 </tr> |
176 </tr> |
165 <tr> |
177 <tr> |
166 <td><a href="#PythonDisViewer.preferencesChanged">preferencesChanged</a></td> |
178 <td><a href="#PythonDisViewer.preferencesChanged">preferencesChanged</a></td> |
173 <tr> |
185 <tr> |
174 <td><a href="#PythonDisViewer.show">show</a></td> |
186 <td><a href="#PythonDisViewer.show">show</a></td> |
175 <td>Public slot to show the DIS viewer.</td> |
187 <td>Public slot to show the DIS viewer.</td> |
176 </tr> |
188 </tr> |
177 <tr> |
189 <tr> |
|
190 <td><a href="#PythonDisViewer.showDisassembly">showDisassembly</a></td> |
|
191 <td>Public slot to receive a code disassembly from the debug client.</td> |
|
192 </tr> |
|
193 <tr> |
178 <td><a href="#PythonDisViewer.shutdown">shutdown</a></td> |
194 <td><a href="#PythonDisViewer.shutdown">shutdown</a></td> |
179 <td>Public method to perform shutdown actions.</td> |
195 <td>Public method to perform shutdown actions.</td> |
180 </tr> |
196 </tr> |
181 </table> |
197 </table> |
182 <h3>Static Methods</h3> |
198 <h3>Static Methods</h3> |
185 <tr><td>None</td></tr> |
201 <tr><td>None</td></tr> |
186 </table> |
202 </table> |
187 |
203 |
188 <a NAME="PythonDisViewer.__init__" ID="PythonDisViewer.__init__"></a> |
204 <a NAME="PythonDisViewer.__init__" ID="PythonDisViewer.__init__"></a> |
189 <h4>PythonDisViewer (Constructor)</h4> |
205 <h4>PythonDisViewer (Constructor)</h4> |
190 <b>PythonDisViewer</b>(<i>viewmanager, parent=None</i>) |
206 <b>PythonDisViewer</b>(<i>viewmanager, mode=PythonDisViewerModes.SourceDisassemblyMode, parent=None</i>) |
191 |
207 |
192 <p> |
208 <p> |
193 Constructor |
209 Constructor |
194 </p> |
210 </p> |
195 <dl> |
211 <dl> |
196 |
212 |
197 <dt><i>viewmanager</i> (ViewManager)</dt> |
213 <dt><i>viewmanager</i> (ViewManager)</dt> |
198 <dd> |
214 <dd> |
199 reference to the viewmanager object |
215 reference to the viewmanager object |
|
216 </dd> |
|
217 <dt><i>mode</i> (int)</dt> |
|
218 <dd> |
|
219 operation mode of the viewer |
200 </dd> |
220 </dd> |
201 <dt><i>parent</i> (QWidget)</dt> |
221 <dt><i>parent</i> (QWidget)</dt> |
202 <dd> |
222 <dd> |
203 reference to the parent widget |
223 reference to the parent widget |
204 </dd> |
224 </dd> |
395 <dt><i>editor</i> (Editor)</dt> |
415 <dt><i>editor</i> (Editor)</dt> |
396 <dd> |
416 <dd> |
397 reference to the current editor |
417 reference to the current editor |
398 </dd> |
418 </dd> |
399 </dl> |
419 </dl> |
|
420 <a NAME="PythonDisViewer.__editorLanguageChanged" ID="PythonDisViewer.__editorLanguageChanged"></a> |
|
421 <h4>PythonDisViewer.__editorLanguageChanged</h4> |
|
422 <b>__editorLanguageChanged</b>(<i>editor</i>) |
|
423 |
|
424 <p> |
|
425 Private slot to handle a change of the editor language. |
|
426 </p> |
|
427 <dl> |
|
428 |
|
429 <dt><i>editor</i> (Editor)</dt> |
|
430 <dd> |
|
431 reference to the editor which changed language |
|
432 </dd> |
|
433 </dl> |
400 <a NAME="PythonDisViewer.__editorLineChanged" ID="PythonDisViewer.__editorLineChanged"></a> |
434 <a NAME="PythonDisViewer.__editorLineChanged" ID="PythonDisViewer.__editorLineChanged"></a> |
401 <h4>PythonDisViewer.__editorLineChanged</h4> |
435 <h4>PythonDisViewer.__editorLineChanged</h4> |
402 <b>__editorLineChanged</b>(<i>editor, lineno</i>) |
436 <b>__editorLineChanged</b>(<i>editor, lineno</i>) |
403 |
437 |
404 <p> |
438 <p> |
435 <b>__expandAll</b>(<i></i>) |
469 <b>__expandAll</b>(<i></i>) |
436 |
470 |
437 <p> |
471 <p> |
438 Private slot to expand all items. |
472 Private slot to expand all items. |
439 </p> |
473 </p> |
440 <a NAME="PythonDisViewer.__grabFocus" ID="PythonDisViewer.__grabFocus"></a> |
|
441 <h4>PythonDisViewer.__grabFocus</h4> |
|
442 <b>__grabFocus</b>(<i></i>) |
|
443 |
|
444 <p> |
|
445 Private method to grab the input focus. |
|
446 </p> |
|
447 <a NAME="PythonDisViewer.__lastEditorClosed" ID="PythonDisViewer.__lastEditorClosed"></a> |
474 <a NAME="PythonDisViewer.__lastEditorClosed" ID="PythonDisViewer.__lastEditorClosed"></a> |
448 <h4>PythonDisViewer.__lastEditorClosed</h4> |
475 <h4>PythonDisViewer.__lastEditorClosed</h4> |
449 <b>__lastEditorClosed</b>(<i></i>) |
476 <b>__lastEditorClosed</b>(<i></i>) |
450 |
477 |
451 <p> |
478 <p> |
492 |
519 |
493 <p> |
520 <p> |
494 Private slot to select the items corresponding with the cursor line |
521 Private slot to select the items corresponding with the cursor line |
495 of the current editor. |
522 of the current editor. |
496 </p> |
523 </p> |
|
524 <a NAME="PythonDisViewer.__styleLabels" ID="PythonDisViewer.__styleLabels"></a> |
|
525 <h4>PythonDisViewer.__styleLabels</h4> |
|
526 <b>__styleLabels</b>(<i></i>) |
|
527 |
|
528 <p> |
|
529 Private method to style the info labels iaw. selected colors. |
|
530 </p> |
497 <a NAME="PythonDisViewer.__tryCompile" ID="PythonDisViewer.__tryCompile"></a> |
531 <a NAME="PythonDisViewer.__tryCompile" ID="PythonDisViewer.__tryCompile"></a> |
498 <h4>PythonDisViewer.__tryCompile</h4> |
532 <h4>PythonDisViewer.__tryCompile</h4> |
499 <b>__tryCompile</b>(<i>source, name</i>) |
533 <b>__tryCompile</b>(<i>source, name</i>) |
500 |
534 |
501 <p> |
535 <p> |
537 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
571 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
538 <dd> |
572 <dd> |
539 reference to the item to be updated |
573 reference to the item to be updated |
540 </dd> |
574 </dd> |
541 </dl> |
575 </dl> |
|
576 <a NAME="PythonDisViewer.clear" ID="PythonDisViewer.clear"></a> |
|
577 <h4>PythonDisViewer.clear</h4> |
|
578 <b>clear</b>(<i></i>) |
|
579 |
|
580 <p> |
|
581 Public method to clear the display. |
|
582 </p> |
542 <a NAME="PythonDisViewer.hide" ID="PythonDisViewer.hide"></a> |
583 <a NAME="PythonDisViewer.hide" ID="PythonDisViewer.hide"></a> |
543 <h4>PythonDisViewer.hide</h4> |
584 <h4>PythonDisViewer.hide</h4> |
544 <b>hide</b>(<i></i>) |
585 <b>hide</b>(<i></i>) |
545 |
586 |
546 <p> |
587 <p> |
572 <b>show</b>(<i></i>) |
613 <b>show</b>(<i></i>) |
573 |
614 |
574 <p> |
615 <p> |
575 Public slot to show the DIS viewer. |
616 Public slot to show the DIS viewer. |
576 </p> |
617 </p> |
|
618 <a NAME="PythonDisViewer.showDisassembly" ID="PythonDisViewer.showDisassembly"></a> |
|
619 <h4>PythonDisViewer.showDisassembly</h4> |
|
620 <b>showDisassembly</b>(<i>disassembly</i>) |
|
621 |
|
622 <p> |
|
623 Public slot to receive a code disassembly from the debug client. |
|
624 </p> |
|
625 <dl> |
|
626 |
|
627 <dt><i>disassembly</i> (dict)</dt> |
|
628 <dd> |
|
629 dictionary containing the disassembly information |
|
630 </dd> |
|
631 </dl> |
577 <a NAME="PythonDisViewer.shutdown" ID="PythonDisViewer.shutdown"></a> |
632 <a NAME="PythonDisViewer.shutdown" ID="PythonDisViewer.shutdown"></a> |
578 <h4>PythonDisViewer.shutdown</h4> |
633 <h4>PythonDisViewer.shutdown</h4> |
579 <b>shutdown</b>(<i></i>) |
634 <b>shutdown</b>(<i></i>) |
580 |
635 |
581 <p> |
636 <p> |
582 Public method to perform shutdown actions. |
637 Public method to perform shutdown actions. |
583 </p> |
638 </p> |
584 <div align="right"><a href="#top">Up</a></div> |
639 <div align="right"><a href="#top">Up</a></div> |
585 <hr /> |
640 <hr /> |
|
641 <hr /> |
|
642 <a NAME="PythonDisViewerModes" ID="PythonDisViewerModes"></a> |
|
643 <h2>PythonDisViewerModes</h2> |
|
644 |
|
645 <p> |
|
646 Class implementing the disassembly viewer operation modes. |
|
647 </p> |
|
648 <h3>Derived from</h3> |
|
649 enum.Enum |
|
650 <h3>Class Attributes</h3> |
|
651 |
|
652 <table> |
|
653 <tr><td>SourceDisassemblyMode</td></tr><tr><td>TracebackMode</td></tr> |
|
654 </table> |
|
655 <h3>Class Methods</h3> |
|
656 |
|
657 <table> |
|
658 <tr><td>None</td></tr> |
|
659 </table> |
|
660 <h3>Methods</h3> |
|
661 |
|
662 <table> |
|
663 <tr><td>None</td></tr> |
|
664 </table> |
|
665 <h3>Static Methods</h3> |
|
666 |
|
667 <table> |
|
668 <tr><td>None</td></tr> |
|
669 </table> |
|
670 |
|
671 <div align="right"><a href="#top">Up</a></div> |
|
672 <hr /> |
586 </body></html> |
673 </body></html> |