49 </p> |
49 </p> |
50 <h3>Derived from</h3> |
50 <h3>Derived from</h3> |
51 QDialog, Ui_CodeStyleCheckerDialog |
51 QDialog, Ui_CodeStyleCheckerDialog |
52 <h3>Class Attributes</h3> |
52 <h3>Class Attributes</h3> |
53 <table> |
53 <table> |
54 <tr><td>codeRole</td></tr><tr><td>filenameRole</td></tr><tr><td>fixableRole</td></tr><tr><td>lineRole</td></tr><tr><td>messageRole</td></tr><tr><td>positionRole</td></tr> |
54 <tr><td>codeRole</td></tr><tr><td>filenameRole</td></tr><tr><td>fixableRole</td></tr><tr><td>ignoredRole</td></tr><tr><td>lineRole</td></tr><tr><td>messageRole</td></tr><tr><td>positionRole</td></tr> |
55 </table> |
55 </table> |
56 <h3>Class Methods</h3> |
56 <h3>Class Methods</h3> |
57 <table> |
57 <table> |
58 <tr><td>None</td></tr> |
58 <tr><td>None</td></tr> |
59 </table> |
59 </table> |
170 <dd> |
170 <dd> |
171 list of files to be checked (list of string) |
171 list of files to be checked (list of string) |
172 </dd> |
172 </dd> |
173 </dl><a NAME="CodeStyleCheckerDialog.__createResultItem" ID="CodeStyleCheckerDialog.__createResultItem"></a> |
173 </dl><a NAME="CodeStyleCheckerDialog.__createResultItem" ID="CodeStyleCheckerDialog.__createResultItem"></a> |
174 <h4>CodeStyleCheckerDialog.__createResultItem</h4> |
174 <h4>CodeStyleCheckerDialog.__createResultItem</h4> |
175 <b>__createResultItem</b>(<i>file, line, pos, message, fixed, autofixing</i>) |
175 <b>__createResultItem</b>(<i>file, line, pos, message, fixed, autofixing, ignored</i>) |
176 <p> |
176 <p> |
177 Private method to create an entry in the result list. |
177 Private method to create an entry in the result list. |
178 </p><dl> |
178 </p><dl> |
179 <dt><i>file</i></dt> |
179 <dt><i>file</i></dt> |
180 <dd> |
180 <dd> |
193 flag indicating a fixed issue (boolean) |
193 flag indicating a fixed issue (boolean) |
194 </dd><dt><i>autofixing</i></dt> |
194 </dd><dt><i>autofixing</i></dt> |
195 <dd> |
195 <dd> |
196 flag indicating, that we are fixing issues |
196 flag indicating, that we are fixing issues |
197 automatically (boolean) |
197 automatically (boolean) |
|
198 </dd><dt><i>ignored</i></dt> |
|
199 <dd> |
|
200 flag indicating an ignored issue (boolean) |
198 </dd> |
201 </dd> |
199 </dl><dl> |
202 </dl><dl> |
200 <dt>Returns:</dt> |
203 <dt>Returns:</dt> |
201 <dd> |
204 <dd> |
202 reference to the created item (QTreeWidgetItem) |
205 reference to the created item (QTreeWidgetItem) |
283 <dd> |
286 <dd> |
284 reference to the code style fixer (CodeStyleFixer) |
287 reference to the code style fixer (CodeStyleFixer) |
285 </dd> |
288 </dd> |
286 </dl><a NAME="CodeStyleCheckerDialog.__updateStatistics" ID="CodeStyleCheckerDialog.__updateStatistics"></a> |
289 </dl><a NAME="CodeStyleCheckerDialog.__updateStatistics" ID="CodeStyleCheckerDialog.__updateStatistics"></a> |
287 <h4>CodeStyleCheckerDialog.__updateStatistics</h4> |
290 <h4>CodeStyleCheckerDialog.__updateStatistics</h4> |
288 <b>__updateStatistics</b>(<i>statistics, fixer</i>) |
291 <b>__updateStatistics</b>(<i>statistics, fixer, ignoredErrors</i>) |
289 <p> |
292 <p> |
290 Private method to update the collected statistics. |
293 Private method to update the collected statistics. |
291 </p><dl> |
294 </p><dl> |
292 <dt><i>statistics</i></dt> |
295 <dt><i>statistics</i></dt> |
293 <dd> |
296 <dd> |
294 dictionary of statistical data with |
297 dictionary of statistical data with |
295 message code as key and message count as value |
298 message code as key and message count as value |
296 </dd><dt><i>fixer</i></dt> |
299 </dd><dt><i>fixer</i></dt> |
297 <dd> |
300 <dd> |
298 reference to the code style fixer (CodeStyleFixer) |
301 reference to the code style fixer (CodeStyleFixer) |
|
302 </dd><dt><i>ignoredErrors</i></dt> |
|
303 <dd> |
|
304 number of ignored errors (integer) |
299 </dd> |
305 </dd> |
300 </dl><a NAME="CodeStyleCheckerDialog.on_buttonBox_clicked" ID="CodeStyleCheckerDialog.on_buttonBox_clicked"></a> |
306 </dl><a NAME="CodeStyleCheckerDialog.on_buttonBox_clicked" ID="CodeStyleCheckerDialog.on_buttonBox_clicked"></a> |
301 <h4>CodeStyleCheckerDialog.on_buttonBox_clicked</h4> |
307 <h4>CodeStyleCheckerDialog.on_buttonBox_clicked</h4> |
302 <b>on_buttonBox_clicked</b>(<i>button</i>) |
308 <b>on_buttonBox_clicked</b>(<i>button</i>) |
303 <p> |
309 <p> |