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