Sun, 09 Mar 2014 17:06:40 +0100
Made the status LED (right lower corner) clickable (depending on overall VCS status it will show the log browser or the status dialog).
<!DOCTYPE html> <html><head> <title>eric5.E5Gui.E5ClickableLabel</title> <meta charset="UTF-8"> <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.E5Gui.E5ClickableLabel</h1> <p> Module implementing a clickable label. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#E5ClickableLabel">E5ClickableLabel</a></td> <td>Class implementing a clickable label.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="E5ClickableLabel" ID="E5ClickableLabel"></a> <h2>E5ClickableLabel</h2> <p> Class implementing a clickable label. </p><h3>Signals</h3> <dl> <dt>clicked(QPoint)</dt> <dd> emitted upon a click on the label with the left button </dd><dt>middleClicked(QPoint)</dt> <dd> emitted upon a click on the label with the middle button or CTRL and left button </dd> </dl> <h3>Derived from</h3> QLabel <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#E5ClickableLabel.__init__">E5ClickableLabel</a></td> <td>Constructor</td> </tr><tr> <td><a href="#E5ClickableLabel.mouseReleaseEvent">mouseReleaseEvent</a></td> <td>Protected method handling mouse release events.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="E5ClickableLabel.__init__" ID="E5ClickableLabel.__init__"></a> <h4>E5ClickableLabel (Constructor)</h4> <b>E5ClickableLabel</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="E5ClickableLabel.mouseReleaseEvent" ID="E5ClickableLabel.mouseReleaseEvent"></a> <h4>E5ClickableLabel.mouseReleaseEvent</h4> <b>mouseReleaseEvent</b>(<i>evt</i>) <p> Protected method handling mouse release events. </p><dl> <dt><i>evt</i></dt> <dd> mouse event (QMouseEvent) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>