Documentation/Source/eric5.E5Gui.E5ClickableLabel.html

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

eric ide

mercurial