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