Documentation/Source/eric4.Debugger.ExceptionLogger.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.Debugger.ExceptionLogger</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.Debugger.ExceptionLogger</h1>
24 <p>
25 Module implementing the Exception Logger widget.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#ExceptionLogger">ExceptionLogger</a></td>
35 <td>Class implementing the Exception Logger widget.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="ExceptionLogger" ID="ExceptionLogger"></a>
44 <h2>ExceptionLogger</h2>
45 <p>
46 Class implementing the Exception Logger widget.
47 </p><p>
48 This class displays a log of all exceptions having occured during
49 a debugging session.
50 </p><h4>Signals</h4>
51 <dl>
52 <dt>sourceFile(string, int)</dt>
53 <dd>
54 emitted to open a source file at a line
55 </dd>
56 </dl>
57 <h3>Derived from</h3>
58 QTreeWidget
59 <h3>Class Attributes</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Methods</h3>
64 <table>
65 <tr>
66 <td><a href="#ExceptionLogger.__init__">ExceptionLogger</a></td>
67 <td>Constructor</td>
68 </tr><tr>
69 <td><a href="#ExceptionLogger.__configure">__configure</a></td>
70 <td>Private method to open the configuration dialog.</td>
71 </tr><tr>
72 <td><a href="#ExceptionLogger.__itemDoubleClicked">__itemDoubleClicked</a></td>
73 <td>Private slot to handle the double click of an item.</td>
74 </tr><tr>
75 <td><a href="#ExceptionLogger.__openSource">__openSource</a></td>
76 <td>Private slot to handle a double click on an entry.</td>
77 </tr><tr>
78 <td><a href="#ExceptionLogger.__showContextMenu">__showContextMenu</a></td>
79 <td>Private slot to show the context menu of the listview.</td>
80 </tr><tr>
81 <td><a href="#ExceptionLogger.addException">addException</a></td>
82 <td>Public slot to handle the arrival of a new exception.</td>
83 </tr><tr>
84 <td><a href="#ExceptionLogger.debuggingStarted">debuggingStarted</a></td>
85 <td>Public slot to clear the listview upon starting a new debugging session.</td>
86 </tr>
87 </table>
88 <a NAME="ExceptionLogger.__init__" ID="ExceptionLogger.__init__"></a>
89 <h4>ExceptionLogger (Constructor)</h4>
90 <b>ExceptionLogger</b>(<i>parent=None</i>)
91 <p>
92 Constructor
93 </p><dl>
94 <dt><i>parent</i></dt>
95 <dd>
96 the parent widget of this widget
97 </dd>
98 </dl><a NAME="ExceptionLogger.__configure" ID="ExceptionLogger.__configure"></a>
99 <h4>ExceptionLogger.__configure</h4>
100 <b>__configure</b>(<i></i>)
101 <p>
102 Private method to open the configuration dialog.
103 </p><a NAME="ExceptionLogger.__itemDoubleClicked" ID="ExceptionLogger.__itemDoubleClicked"></a>
104 <h4>ExceptionLogger.__itemDoubleClicked</h4>
105 <b>__itemDoubleClicked</b>(<i>itm</i>)
106 <p>
107 Private slot to handle the double click of an item.
108 </p><dl>
109 <dt><i>itm</i></dt>
110 <dd>
111 the item that was double clicked(QTreeWidgetItem), ignored
112 </dd>
113 </dl><a NAME="ExceptionLogger.__openSource" ID="ExceptionLogger.__openSource"></a>
114 <h4>ExceptionLogger.__openSource</h4>
115 <b>__openSource</b>(<i></i>)
116 <p>
117 Private slot to handle a double click on an entry.
118 </p><a NAME="ExceptionLogger.__showContextMenu" ID="ExceptionLogger.__showContextMenu"></a>
119 <h4>ExceptionLogger.__showContextMenu</h4>
120 <b>__showContextMenu</b>(<i>coord</i>)
121 <p>
122 Private slot to show the context menu of the listview.
123 </p><dl>
124 <dt><i>coord</i></dt>
125 <dd>
126 the global coordinates of the mouse pointer (QPoint)
127 </dd>
128 </dl><a NAME="ExceptionLogger.addException" ID="ExceptionLogger.addException"></a>
129 <h4>ExceptionLogger.addException</h4>
130 <b>addException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>)
131 <p>
132 Public slot to handle the arrival of a new exception.
133 </p><dl>
134 <dt><i>exceptionType</i></dt>
135 <dd>
136 type of exception raised (string)
137 </dd><dt><i>exceptionMessage</i></dt>
138 <dd>
139 message given by the exception (string)
140 </dd><dt><i>stackTrace</i></dt>
141 <dd>
142 list of stack entries.
143 </dd>
144 </dl><a NAME="ExceptionLogger.debuggingStarted" ID="ExceptionLogger.debuggingStarted"></a>
145 <h4>ExceptionLogger.debuggingStarted</h4>
146 <b>debuggingStarted</b>(<i></i>)
147 <p>
148 Public slot to clear the listview upon starting a new debugging session.
149 </p>
150 <div align="right"><a href="#top">Up</a></div>
151 <hr />
152 </body></html>

eric ide

mercurial