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