|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Debugger.ExceptionsFilterDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Debugger.ExceptionsFilterDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the exceptions filter dialog. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#ExceptionsFilterDialog">ExceptionsFilterDialog</a></td> |
|
39 <td>Class implementing the exceptions filter dialog.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="ExceptionsFilterDialog" ID="ExceptionsFilterDialog"></a> |
|
50 <h2>ExceptionsFilterDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the exceptions filter dialog. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_ExceptionsFilterDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#ExceptionsFilterDialog.__init__">ExceptionsFilterDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#ExceptionsFilterDialog.getExceptionsList">getExceptionsList</a></td> |
|
77 <td>Public method to retrieve the list of exception types.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#ExceptionsFilterDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
81 <td>Private slot to handle the Add button press.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#ExceptionsFilterDialog.on_deleteAllButton_clicked">on_deleteAllButton_clicked</a></td> |
|
85 <td>Private slot to delete all exceptions of the listbox.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#ExceptionsFilterDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
89 <td>Private slot to delete the currently selected exception of the listbox.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#ExceptionsFilterDialog.on_exceptionEdit_textChanged">on_exceptionEdit_textChanged</a></td> |
|
93 <td>Private slot to handle the textChanged signal of exceptionEdit.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#ExceptionsFilterDialog.on_exceptionList_itemSelectionChanged">on_exceptionList_itemSelectionChanged</a></td> |
|
97 <td>Private slot to handle the change of the selection.</td> |
|
98 </tr> |
|
99 </table> |
|
100 <h3>Static Methods</h3> |
|
101 |
|
102 <table> |
|
103 <tr><td>None</td></tr> |
|
104 </table> |
|
105 |
|
106 <a NAME="ExceptionsFilterDialog.__init__" ID="ExceptionsFilterDialog.__init__"></a> |
|
107 <h4>ExceptionsFilterDialog (Constructor)</h4> |
|
108 <b>ExceptionsFilterDialog</b>(<i>excList, ignore, parent=None</i>) |
|
109 |
|
110 <p> |
|
111 Constructor |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>excList</i></dt> |
|
116 <dd> |
|
117 list of exceptions to be edited (list of strings) |
|
118 </dd> |
|
119 <dt><i>ignore</i></dt> |
|
120 <dd> |
|
121 flag indicating the ignore exceptions mode (boolean) |
|
122 </dd> |
|
123 <dt><i>parent</i></dt> |
|
124 <dd> |
|
125 the parent widget (QWidget) |
|
126 </dd> |
|
127 </dl> |
|
128 <a NAME="ExceptionsFilterDialog.getExceptionsList" ID="ExceptionsFilterDialog.getExceptionsList"></a> |
|
129 <h4>ExceptionsFilterDialog.getExceptionsList</h4> |
|
130 <b>getExceptionsList</b>(<i></i>) |
|
131 |
|
132 <p> |
|
133 Public method to retrieve the list of exception types. |
|
134 </p> |
|
135 <dl> |
|
136 <dt>Return:</dt> |
|
137 <dd> |
|
138 list of exception types (list of strings) |
|
139 </dd> |
|
140 </dl> |
|
141 <a NAME="ExceptionsFilterDialog.on_addButton_clicked" ID="ExceptionsFilterDialog.on_addButton_clicked"></a> |
|
142 <h4>ExceptionsFilterDialog.on_addButton_clicked</h4> |
|
143 <b>on_addButton_clicked</b>(<i></i>) |
|
144 |
|
145 <p> |
|
146 Private slot to handle the Add button press. |
|
147 </p> |
|
148 <a NAME="ExceptionsFilterDialog.on_deleteAllButton_clicked" ID="ExceptionsFilterDialog.on_deleteAllButton_clicked"></a> |
|
149 <h4>ExceptionsFilterDialog.on_deleteAllButton_clicked</h4> |
|
150 <b>on_deleteAllButton_clicked</b>(<i></i>) |
|
151 |
|
152 <p> |
|
153 Private slot to delete all exceptions of the listbox. |
|
154 </p> |
|
155 <a NAME="ExceptionsFilterDialog.on_deleteButton_clicked" ID="ExceptionsFilterDialog.on_deleteButton_clicked"></a> |
|
156 <h4>ExceptionsFilterDialog.on_deleteButton_clicked</h4> |
|
157 <b>on_deleteButton_clicked</b>(<i></i>) |
|
158 |
|
159 <p> |
|
160 Private slot to delete the currently selected exception of the listbox. |
|
161 </p> |
|
162 <a NAME="ExceptionsFilterDialog.on_exceptionEdit_textChanged" ID="ExceptionsFilterDialog.on_exceptionEdit_textChanged"></a> |
|
163 <h4>ExceptionsFilterDialog.on_exceptionEdit_textChanged</h4> |
|
164 <b>on_exceptionEdit_textChanged</b>(<i>txt</i>) |
|
165 |
|
166 <p> |
|
167 Private slot to handle the textChanged signal of exceptionEdit. |
|
168 </p> |
|
169 <p> |
|
170 This slot sets the enabled status of the add button and sets the forms |
|
171 default button. |
|
172 </p> |
|
173 <dl> |
|
174 |
|
175 <dt><i>txt</i></dt> |
|
176 <dd> |
|
177 the text entered into exceptionEdit (string) |
|
178 </dd> |
|
179 </dl> |
|
180 <a NAME="ExceptionsFilterDialog.on_exceptionList_itemSelectionChanged" ID="ExceptionsFilterDialog.on_exceptionList_itemSelectionChanged"></a> |
|
181 <h4>ExceptionsFilterDialog.on_exceptionList_itemSelectionChanged</h4> |
|
182 <b>on_exceptionList_itemSelectionChanged</b>(<i></i>) |
|
183 |
|
184 <p> |
|
185 Private slot to handle the change of the selection. |
|
186 </p> |
|
187 <div align="right"><a href="#top">Up</a></div> |
|
188 <hr /> |
|
189 </body></html> |