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.SqlBrowser.SqlBrowser</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.SqlBrowser.SqlBrowser</h1> <p> Module implementing the SQL Browser main window. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#SqlBrowser">SqlBrowser</a></td> <td>Class implementing the SQL Browser main window.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="SqlBrowser" ID="SqlBrowser"></a> <h2>SqlBrowser</h2> <p> Class implementing the SQL Browser main window. </p> <h3>Derived from</h3> QMainWindow <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#SqlBrowser.__init__">SqlBrowser</a></td> <td>Constructor</td> </tr><tr> <td><a href="#SqlBrowser.__about">__about</a></td> <td>Private slot to show the about information.</td> </tr><tr> <td><a href="#SqlBrowser.__aboutQt">__aboutQt</a></td> <td>Private slot to show info about Qt.</td> </tr><tr> <td><a href="#SqlBrowser.__initActions">__initActions</a></td> <td>Private method to define the user interface actions.</td> </tr><tr> <td><a href="#SqlBrowser.__initMenus">__initMenus</a></td> <td>Private method to create the menus.</td> </tr><tr> <td><a href="#SqlBrowser.__initToolbars">__initToolbars</a></td> <td>Private method to create the toolbars.</td> </tr><tr> <td><a href="#SqlBrowser.__uiStartUp">__uiStartUp</a></td> <td>Private slot to do some actions after the UI has started and the main loop is up.</td> </tr> </table> <a NAME="SqlBrowser.__init__" ID="SqlBrowser.__init__"></a> <h4>SqlBrowser (Constructor)</h4> <b>SqlBrowser</b>(<i>connections=[], parent=None</i>) <p> Constructor </p><dl> <dt><i>connections</i></dt> <dd> list of database connections to add (list of strings) </dd><dt><i>reference</i></dt> <dd> to the parent widget (QWidget) </dd> </dl><a NAME="SqlBrowser.__about" ID="SqlBrowser.__about"></a> <h4>SqlBrowser.__about</h4> <b>__about</b>(<i></i>) <p> Private slot to show the about information. </p><a NAME="SqlBrowser.__aboutQt" ID="SqlBrowser.__aboutQt"></a> <h4>SqlBrowser.__aboutQt</h4> <b>__aboutQt</b>(<i></i>) <p> Private slot to show info about Qt. </p><a NAME="SqlBrowser.__initActions" ID="SqlBrowser.__initActions"></a> <h4>SqlBrowser.__initActions</h4> <b>__initActions</b>(<i></i>) <p> Private method to define the user interface actions. </p><a NAME="SqlBrowser.__initMenus" ID="SqlBrowser.__initMenus"></a> <h4>SqlBrowser.__initMenus</h4> <b>__initMenus</b>(<i></i>) <p> Private method to create the menus. </p><a NAME="SqlBrowser.__initToolbars" ID="SqlBrowser.__initToolbars"></a> <h4>SqlBrowser.__initToolbars</h4> <b>__initToolbars</b>(<i></i>) <p> Private method to create the toolbars. </p><a NAME="SqlBrowser.__uiStartUp" ID="SqlBrowser.__uiStartUp"></a> <h4>SqlBrowser.__uiStartUp</h4> <b>__uiStartUp</b>(<i></i>) <p> Private slot to do some actions after the UI has started and the main loop is up. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>