~mcfletch/eric/update-to-4.5.13

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric4.Debugger.ExceptionLogger</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric4.Debugger.ExceptionLogger</h1>
<p>
Module implementing the Exception Logger widget.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#ExceptionLogger">ExceptionLogger</a></td>
<td>Class implementing the Exception Logger widget.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="ExceptionLogger" ID="ExceptionLogger"></a>
<h2>ExceptionLogger</h2>
<p>
    Class implementing the Exception Logger widget.
</p><p>
    This class displays a log of all exceptions having occured during
    a debugging session.
</p><h3>Signals</h3>
<dl>
<dt>sourceFile(string, int)</dt>
<dd>
emitted to open a source file at a line
</dd>
</dl>
<h3>Derived from</h3>
QTreeWidget
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#ExceptionLogger.__init__">ExceptionLogger</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#ExceptionLogger.__configure">__configure</a></td>
<td>Private method to open the configuration dialog.</td>
</tr><tr>
<td><a href="#ExceptionLogger.__itemDoubleClicked">__itemDoubleClicked</a></td>
<td>Private slot to handle the double click of an item.</td>
</tr><tr>
<td><a href="#ExceptionLogger.__openSource">__openSource</a></td>
<td>Private slot to handle a double click on an entry.</td>
</tr><tr>
<td><a href="#ExceptionLogger.__showContextMenu">__showContextMenu</a></td>
<td>Private slot to show the context menu of the listview.</td>
</tr><tr>
<td><a href="#ExceptionLogger.addException">addException</a></td>
<td>Public slot to handle the arrival of a new exception.</td>
</tr><tr>
<td><a href="#ExceptionLogger.debuggingStarted">debuggingStarted</a></td>
<td>Public slot to clear the listview upon starting a new debugging session.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="ExceptionLogger.__init__" ID="ExceptionLogger.__init__"></a>
<h4>ExceptionLogger (Constructor)</h4>
<b>ExceptionLogger</b>(<i>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
the parent widget of this widget
</dd>
</dl><a NAME="ExceptionLogger.__configure" ID="ExceptionLogger.__configure"></a>
<h4>ExceptionLogger.__configure</h4>
<b>__configure</b>(<i></i>)
<p>
        Private method to open the configuration dialog.
</p><a NAME="ExceptionLogger.__itemDoubleClicked" ID="ExceptionLogger.__itemDoubleClicked"></a>
<h4>ExceptionLogger.__itemDoubleClicked</h4>
<b>__itemDoubleClicked</b>(<i>itm</i>)
<p>
        Private slot to handle the double click of an item. 
</p><dl>
<dt><i>itm</i></dt>
<dd>
the item that was double clicked(QTreeWidgetItem), ignored
</dd>
</dl><a NAME="ExceptionLogger.__openSource" ID="ExceptionLogger.__openSource"></a>
<h4>ExceptionLogger.__openSource</h4>
<b>__openSource</b>(<i></i>)
<p>
        Private slot to handle a double click on an entry.
</p><a NAME="ExceptionLogger.__showContextMenu" ID="ExceptionLogger.__showContextMenu"></a>
<h4>ExceptionLogger.__showContextMenu</h4>
<b>__showContextMenu</b>(<i>coord</i>)
<p>
        Private slot to show the context menu of the listview.
</p><dl>
<dt><i>coord</i></dt>
<dd>
the global coordinates of the mouse pointer (QPoint)
</dd>
</dl><a NAME="ExceptionLogger.addException" ID="ExceptionLogger.addException"></a>
<h4>ExceptionLogger.addException</h4>
<b>addException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>)
<p>
        Public slot to handle the arrival of a new exception.
</p><dl>
<dt><i>exceptionType</i></dt>
<dd>
type of exception raised (string)
</dd><dt><i>exceptionMessage</i></dt>
<dd>
message given by the exception (string)
</dd><dt><i>stackTrace</i></dt>
<dd>
list of stack entries.
</dd>
</dl><a NAME="ExceptionLogger.debuggingStarted" ID="ExceptionLogger.debuggingStarted"></a>
<h4>ExceptionLogger.debuggingStarted</h4>
<b>debuggingStarted</b>(<i></i>)
<p>
        Public slot to clear the listview upon starting a new debugging session.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>