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