|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog showing statistical data for the last code |
|
13 style checker run. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 |
|
17 <table> |
|
18 <tr><td>None</td></tr> |
|
19 </table> |
|
20 <h3>Classes</h3> |
|
21 |
|
22 <table> |
|
23 |
|
24 <tr> |
|
25 <td><a href="#CodeStyleStatisticsDialog">CodeStyleStatisticsDialog</a></td> |
|
26 <td>Class implementing a dialog showing statistical data for the last code style checker run.</td> |
|
27 </tr> |
|
28 </table> |
|
29 <h3>Functions</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <hr /> |
|
35 <hr /> |
|
36 <a NAME="CodeStyleStatisticsDialog" ID="CodeStyleStatisticsDialog"></a> |
|
37 <h2>CodeStyleStatisticsDialog</h2> |
|
38 |
|
39 <p> |
|
40 Class implementing a dialog showing statistical data for the last |
|
41 code style checker run. |
|
42 </p> |
|
43 <h3>Derived from</h3> |
|
44 QDialog, Ui_CodeStyleStatisticsDialog |
|
45 <h3>Class Attributes</h3> |
|
46 |
|
47 <table> |
|
48 <tr><td>None</td></tr> |
|
49 </table> |
|
50 <h3>Class Methods</h3> |
|
51 |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Methods</h3> |
|
56 |
|
57 <table> |
|
58 |
|
59 <tr> |
|
60 <td><a href="#CodeStyleStatisticsDialog.__init__">CodeStyleStatisticsDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td><a href="#CodeStyleStatisticsDialog.__createItem">__createItem</a></td> |
|
65 <td>Private method to create an entry in the result list.</td> |
|
66 </tr> |
|
67 </table> |
|
68 <h3>Static Methods</h3> |
|
69 |
|
70 <table> |
|
71 <tr><td>None</td></tr> |
|
72 </table> |
|
73 |
|
74 <a NAME="CodeStyleStatisticsDialog.__init__" ID="CodeStyleStatisticsDialog.__init__"></a> |
|
75 <h4>CodeStyleStatisticsDialog (Constructor)</h4> |
|
76 <b>CodeStyleStatisticsDialog</b>(<i>statisticData, parent=None</i>) |
|
77 |
|
78 <p> |
|
79 Constructor |
|
80 </p> |
|
81 <dl> |
|
82 |
|
83 <dt><i>statisticData</i> (dict)</dt> |
|
84 <dd> |
|
85 dictionary with the statistical data |
|
86 </dd> |
|
87 <dt><i>parent</i> (QWidget)</dt> |
|
88 <dd> |
|
89 reference to the parent widget |
|
90 </dd> |
|
91 </dl> |
|
92 <a NAME="CodeStyleStatisticsDialog.__createItem" ID="CodeStyleStatisticsDialog.__createItem"></a> |
|
93 <h4>CodeStyleStatisticsDialog.__createItem</h4> |
|
94 <b>__createItem</b>(<i>counts, msgCode, message</i>) |
|
95 |
|
96 <p> |
|
97 Private method to create an entry in the result list. |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>counts</i> (dict)</dt> |
|
102 <dd> |
|
103 dictionary containing the total and ignored occurrences |
|
104 of the issue |
|
105 </dd> |
|
106 <dt><i>msgCode</i> (str)</dt> |
|
107 <dd> |
|
108 code of a code style issue message |
|
109 </dd> |
|
110 <dt><i>message</i> (str)</dt> |
|
111 <dd> |
|
112 code style issue message to be shown |
|
113 </dd> |
|
114 </dl> |
|
115 <div align="right"><a href="#top">Up</a></div> |
|
116 <hr /> |
|
117 </body></html> |