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