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.Helpviewer.UrlBar.FavIconLabel</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.Helpviewer.UrlBar.FavIconLabel</h1> <p> Module implementing the label to show the web site icon. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#FavIconLabel">FavIconLabel</a></td> <td>Class implementing the label to show the web site icon.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="FavIconLabel" ID="FavIconLabel"></a> <h2>FavIconLabel</h2> <p> Class implementing the label to show the web site icon. </p> <h3>Derived from</h3> QLabel <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#FavIconLabel.__init__">FavIconLabel</a></td> <td>Constructor</td> </tr><tr> <td><a href="#FavIconLabel.__browserIconChanged">__browserIconChanged</a></td> <td>Private slot to set the icon.</td> </tr><tr> <td><a href="#FavIconLabel.mouseMoveEvent">mouseMoveEvent</a></td> <td>Protected method to handle mouse move events.</td> </tr><tr> <td><a href="#FavIconLabel.mousePressEvent">mousePressEvent</a></td> <td>Protected method to handle mouse press events.</td> </tr><tr> <td><a href="#FavIconLabel.setBrowser">setBrowser</a></td> <td>Public method to set the browser connection.</td> </tr> </table> <a NAME="FavIconLabel.__init__" ID="FavIconLabel.__init__"></a> <h4>FavIconLabel (Constructor)</h4> <b>FavIconLabel</b>(<i>parent=None</i>) <p> Constructor </p><dl> <dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="FavIconLabel.__browserIconChanged" ID="FavIconLabel.__browserIconChanged"></a> <h4>FavIconLabel.__browserIconChanged</h4> <b>__browserIconChanged</b>(<i></i>) <p> Private slot to set the icon. </p><a NAME="FavIconLabel.mouseMoveEvent" ID="FavIconLabel.mouseMoveEvent"></a> <h4>FavIconLabel.mouseMoveEvent</h4> <b>mouseMoveEvent</b>(<i>evt</i>) <p> Protected method to handle mouse move events. </p><dl> <dt><i>evt</i></dt> <dd> reference to the mouse event (QMouseEvent) </dd> </dl><a NAME="FavIconLabel.mousePressEvent" ID="FavIconLabel.mousePressEvent"></a> <h4>FavIconLabel.mousePressEvent</h4> <b>mousePressEvent</b>(<i>evt</i>) <p> Protected method to handle mouse press events. </p><dl> <dt><i>evt</i></dt> <dd> reference to the mouse event (QMouseEvent) </dd> </dl><a NAME="FavIconLabel.setBrowser" ID="FavIconLabel.setBrowser"></a> <h4>FavIconLabel.setBrowser</h4> <b>setBrowser</b>(<i>browser</i>) <p> Public method to set the browser connection. </p><dl> <dt><i>browser</i></dt> <dd> reference to the browser widegt (HelpBrowser) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>