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