|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.E5Gui.E5ClickableLabel</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.E5Gui.E5ClickableLabel</h1> |
|
23 <p> |
|
24 Module implementing a clickable label. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#E5ClickableLabel">E5ClickableLabel</a></td> |
|
34 <td>Class implementing a clickable label.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="E5ClickableLabel" ID="E5ClickableLabel"></a> |
|
43 <h2>E5ClickableLabel</h2> |
|
44 <p> |
|
45 Class implementing a clickable label. |
|
46 </p><h3>Signals</h3> |
|
47 <dl> |
|
48 <dt>clicked(QPoint)</dt> |
|
49 <dd> |
|
50 emitted upon a click on the label |
|
51 with the left button |
|
52 </dd><dt>middleClicked(QPoint)</dt> |
|
53 <dd> |
|
54 emitted upon a click on the label |
|
55 with the middle button or CTRL and left button |
|
56 </dd> |
|
57 </dl> |
|
58 <h3>Derived from</h3> |
|
59 QLabel |
|
60 <h3>Class Attributes</h3> |
|
61 <table> |
|
62 <tr><td>None</td></tr> |
|
63 </table> |
|
64 <h3>Class Methods</h3> |
|
65 <table> |
|
66 <tr><td>None</td></tr> |
|
67 </table> |
|
68 <h3>Methods</h3> |
|
69 <table> |
|
70 <tr> |
|
71 <td><a href="#E5ClickableLabel.__init__">E5ClickableLabel</a></td> |
|
72 <td>Constructor</td> |
|
73 </tr><tr> |
|
74 <td><a href="#E5ClickableLabel.mouseReleaseEvent">mouseReleaseEvent</a></td> |
|
75 <td>Protected method handling mouse release events.</td> |
|
76 </tr> |
|
77 </table> |
|
78 <h3>Static Methods</h3> |
|
79 <table> |
|
80 <tr><td>None</td></tr> |
|
81 </table> |
|
82 <a NAME="E5ClickableLabel.__init__" ID="E5ClickableLabel.__init__"></a> |
|
83 <h4>E5ClickableLabel (Constructor)</h4> |
|
84 <b>E5ClickableLabel</b>(<i>parent=None</i>) |
|
85 <p> |
|
86 Constructor |
|
87 </p><dl> |
|
88 <dt><i>parent</i></dt> |
|
89 <dd> |
|
90 reference to the parent widget (QWidget) |
|
91 </dd> |
|
92 </dl><a NAME="E5ClickableLabel.mouseReleaseEvent" ID="E5ClickableLabel.mouseReleaseEvent"></a> |
|
93 <h4>E5ClickableLabel.mouseReleaseEvent</h4> |
|
94 <b>mouseReleaseEvent</b>(<i>evt</i>) |
|
95 <p> |
|
96 Protected method handling mouse release events. |
|
97 </p><dl> |
|
98 <dt><i>evt</i></dt> |
|
99 <dd> |
|
100 mouse event (QMouseEvent) |
|
101 </dd> |
|
102 </dl> |
|
103 <div align="right"><a href="#top">Up</a></div> |
|
104 <hr /> |
|
105 </body></html> |