|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Plugins.CheckerPlugins.Pep8.Pep8StatisticsDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Plugins.CheckerPlugins.Pep8.Pep8StatisticsDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog showing statistical data for the last PEP 8 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="#Pep8StatisticsDialog">Pep8StatisticsDialog</a></td> |
|
35 <td>Class implementing a dialog showing statistical data for the last PEP 8 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="Pep8StatisticsDialog" ID="Pep8StatisticsDialog"></a> |
|
44 <h2>Pep8StatisticsDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog showing statistical data for the last |
|
47 PEP 8 run. |
|
48 </p> |
|
49 <h3>Derived from</h3> |
|
50 QDialog, Ui_Pep8StatisticsDialog |
|
51 <h3>Class Attributes</h3> |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Methods</h3> |
|
56 <table> |
|
57 <tr> |
|
58 <td><a href="#Pep8StatisticsDialog.__init__">Pep8StatisticsDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr><tr> |
|
61 <td><a href="#Pep8StatisticsDialog.__createItem">__createItem</a></td> |
|
62 <td>Private method to create an entry in the result list.</td> |
|
63 </tr> |
|
64 </table> |
|
65 <a NAME="Pep8StatisticsDialog.__init__" ID="Pep8StatisticsDialog.__init__"></a> |
|
66 <h4>Pep8StatisticsDialog (Constructor)</h4> |
|
67 <b>Pep8StatisticsDialog</b>(<i>statistics, parent = None</i>) |
|
68 <p> |
|
69 Constructor |
|
70 </p><dl> |
|
71 <dt><i>dictionary</i></dt> |
|
72 <dd> |
|
73 with the statistical data |
|
74 </dd><dt><i>parent</i></dt> |
|
75 <dd> |
|
76 reference to the parent widget (QWidget) |
|
77 </dd> |
|
78 </dl><a NAME="Pep8StatisticsDialog.__createItem" ID="Pep8StatisticsDialog.__createItem"></a> |
|
79 <h4>Pep8StatisticsDialog.__createItem</h4> |
|
80 <b>__createItem</b>(<i>count, code, message</i>) |
|
81 <p> |
|
82 Private method to create an entry in the result list. |
|
83 </p><dl> |
|
84 <dt><i>count</i></dt> |
|
85 <dd> |
|
86 occurrences of the issue (integer) |
|
87 </dd><dt><i>code</i></dt> |
|
88 <dd> |
|
89 of a PEP 8 message (string) |
|
90 </dd><dt><i>message</i></dt> |
|
91 <dd> |
|
92 PEP 8 message to be shown (string) |
|
93 </dd> |
|
94 </dl> |
|
95 <div align="right"><a href="#top">Up</a></div> |
|
96 <hr /> |
|
97 </body></html> |