Fri, 11 Mar 2011 16:51:57 +0100
Made code mostly PEP 8 compliant (except all whitespace and line length).
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>eric5.Plugins.CheckerPlugins.Pep8.Pep8StatisticsDialog</title> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>eric5.Plugins.CheckerPlugins.Pep8.Pep8StatisticsDialog</h1> <p> Module implementing a dialog showing statistical data for the last PEP 8 run. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#Pep8StatisticsDialog">Pep8StatisticsDialog</a></td> <td>Class implementing a dialog showing statistical data for the last PEP 8 run.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="Pep8StatisticsDialog" ID="Pep8StatisticsDialog"></a> <h2>Pep8StatisticsDialog</h2> <p> Class implementing a dialog showing statistical data for the last PEP 8 run. </p> <h3>Derived from</h3> QDialog, Ui_Pep8StatisticsDialog <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#Pep8StatisticsDialog.__init__">Pep8StatisticsDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#Pep8StatisticsDialog.__createItem">__createItem</a></td> <td>Private method to create an entry in the result list.</td> </tr> </table> <a NAME="Pep8StatisticsDialog.__init__" ID="Pep8StatisticsDialog.__init__"></a> <h4>Pep8StatisticsDialog (Constructor)</h4> <b>Pep8StatisticsDialog</b>(<i>statistics, parent=None</i>) <p> Constructor </p><dl> <dt><i>dictionary</i></dt> <dd> with the statistical data </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="Pep8StatisticsDialog.__createItem" ID="Pep8StatisticsDialog.__createItem"></a> <h4>Pep8StatisticsDialog.__createItem</h4> <b>__createItem</b>(<i>count, code, message</i>) <p> Private method to create an entry in the result list. </p><dl> <dt><i>count</i></dt> <dd> occurrences of the issue (integer) </dd><dt><i>code</i></dt> <dd> of a PEP 8 message (string) </dd><dt><i>message</i></dt> <dd> PEP 8 message to be shown (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>