61 <tr> |
61 <tr> |
62 <td><a href="#MaintainabilityIndexDialog.__batchFinished">__batchFinished</a></td> |
62 <td><a href="#MaintainabilityIndexDialog.__batchFinished">__batchFinished</a></td> |
63 <td>Private slot handling the completion of a batch job.</td> |
63 <td>Private slot handling the completion of a batch job.</td> |
64 </tr> |
64 </tr> |
65 <tr> |
65 <tr> |
|
66 <td><a href="#MaintainabilityIndexDialog.__cancel">__cancel</a></td> |
|
67 <td>Private method to cancel the current check run.</td> |
|
68 </tr> |
|
69 <tr> |
66 <td><a href="#MaintainabilityIndexDialog.__createErrorItem">__createErrorItem</a></td> |
70 <td><a href="#MaintainabilityIndexDialog.__createErrorItem">__createErrorItem</a></td> |
67 <td>Private slot to create a new error item in the result list.</td> |
71 <td>Private slot to create a new error item in the result list.</td> |
68 </tr> |
72 </tr> |
69 <tr> |
73 <tr> |
70 <td><a href="#MaintainabilityIndexDialog.__createResultItem">__createResultItem</a></td> |
74 <td><a href="#MaintainabilityIndexDialog.__createResultItem">__createResultItem</a></td> |
87 <td>Private method to resize the list columns.</td> |
91 <td>Private method to resize the list columns.</td> |
88 </tr> |
92 </tr> |
89 <tr> |
93 <tr> |
90 <td><a href="#MaintainabilityIndexDialog.clear">clear</a></td> |
94 <td><a href="#MaintainabilityIndexDialog.clear">clear</a></td> |
91 <td>Public method to clear all results.</td> |
95 <td>Public method to clear all results.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#MaintainabilityIndexDialog.closeEvent">closeEvent</a></td> |
|
99 <td>Protected method to handle a close event.</td> |
92 </tr> |
100 </tr> |
93 <tr> |
101 <tr> |
94 <td><a href="#MaintainabilityIndexDialog.maintainabilityIndex">maintainabilityIndex</a></td> |
102 <td><a href="#MaintainabilityIndexDialog.maintainabilityIndex">maintainabilityIndex</a></td> |
95 <td>Public method to start a maintainability index calculation for one Python file.</td> |
103 <td>Public method to start a maintainability index calculation for one Python file.</td> |
96 </tr> |
104 </tr> |
155 <dt><i>type_</i> (str, one of ["raw", "mi", "cc"])</dt> |
163 <dt><i>type_</i> (str, one of ["raw", "mi", "cc"])</dt> |
156 <dd> |
164 <dd> |
157 type of the calculated metrics |
165 type of the calculated metrics |
158 </dd> |
166 </dd> |
159 </dl> |
167 </dl> |
|
168 <a NAME="MaintainabilityIndexDialog.__cancel" ID="MaintainabilityIndexDialog.__cancel"></a> |
|
169 <h4>MaintainabilityIndexDialog.__cancel</h4> |
|
170 <b>__cancel</b>(<i></i>) |
|
171 |
|
172 <p> |
|
173 Private method to cancel the current check run. |
|
174 </p> |
160 <a NAME="MaintainabilityIndexDialog.__createErrorItem" ID="MaintainabilityIndexDialog.__createErrorItem"></a> |
175 <a NAME="MaintainabilityIndexDialog.__createErrorItem" ID="MaintainabilityIndexDialog.__createErrorItem"></a> |
161 <h4>MaintainabilityIndexDialog.__createErrorItem</h4> |
176 <h4>MaintainabilityIndexDialog.__createErrorItem</h4> |
162 <b>__createErrorItem</b>(<i>filename, message</i>) |
177 <b>__createErrorItem</b>(<i>filename, message</i>) |
163 |
178 |
164 <p> |
179 <p> |
253 <b>clear</b>(<i></i>) |
268 <b>clear</b>(<i></i>) |
254 |
269 |
255 <p> |
270 <p> |
256 Public method to clear all results. |
271 Public method to clear all results. |
257 </p> |
272 </p> |
|
273 <a NAME="MaintainabilityIndexDialog.closeEvent" ID="MaintainabilityIndexDialog.closeEvent"></a> |
|
274 <h4>MaintainabilityIndexDialog.closeEvent</h4> |
|
275 <b>closeEvent</b>(<i>evt</i>) |
|
276 |
|
277 <p> |
|
278 Protected method to handle a close event. |
|
279 </p> |
|
280 <dl> |
|
281 |
|
282 <dt><i>evt</i> (QCloseEvent)</dt> |
|
283 <dd> |
|
284 reference to the close event |
|
285 </dd> |
|
286 </dl> |
258 <a NAME="MaintainabilityIndexDialog.maintainabilityIndex" ID="MaintainabilityIndexDialog.maintainabilityIndex"></a> |
287 <a NAME="MaintainabilityIndexDialog.maintainabilityIndex" ID="MaintainabilityIndexDialog.maintainabilityIndex"></a> |
259 <h4>MaintainabilityIndexDialog.maintainabilityIndex</h4> |
288 <h4>MaintainabilityIndexDialog.maintainabilityIndex</h4> |
260 <b>maintainabilityIndex</b>(<i>codestring=""</i>) |
289 <b>maintainabilityIndex</b>(<i></i>) |
261 |
290 |
262 <p> |
291 <p> |
263 Public method to start a maintainability index calculation for one |
292 Public method to start a maintainability index calculation for one |
264 Python file. |
293 Python file. |
265 </p> |
294 </p> |
266 <p> |
295 <p> |
267 The results are reported to the __processResult slot. |
296 The results are reported to the __processResult slot. |
268 </p> |
297 </p> |
269 <dl> |
|
270 |
|
271 <dt><i>codestring</i> (str)</dt> |
|
272 <dd> |
|
273 optional sourcestring |
|
274 </dd> |
|
275 </dl> |
|
276 <a NAME="MaintainabilityIndexDialog.maintainabilityIndexBatch" ID="MaintainabilityIndexDialog.maintainabilityIndexBatch"></a> |
298 <a NAME="MaintainabilityIndexDialog.maintainabilityIndexBatch" ID="MaintainabilityIndexDialog.maintainabilityIndexBatch"></a> |
277 <h4>MaintainabilityIndexDialog.maintainabilityIndexBatch</h4> |
299 <h4>MaintainabilityIndexDialog.maintainabilityIndexBatch</h4> |
278 <b>maintainabilityIndexBatch</b>(<i></i>) |
300 <b>maintainabilityIndexBatch</b>(<i></i>) |
279 |
301 |
280 <p> |
302 <p> |