Documentation/Source/eric5.E5Gui.E5Led.html

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3349
2a034a7f1f54
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
30 <tr><td>E5LedCircular</td></tr><tr><td>E5LedRectangular</td></tr> 30 <tr><td>E5LedCircular</td></tr><tr><td>E5LedRectangular</td></tr>
31 </table> 31 </table>
32 <h3>Classes</h3> 32 <h3>Classes</h3>
33 <table> 33 <table>
34 <tr> 34 <tr>
35 <td><a href="#E5ClickableLed">E5ClickableLed</a></td>
36 <td>Class implementing a clickable LED widget.</td>
37 </tr><tr>
35 <td><a href="#E5Led">E5Led</a></td> 38 <td><a href="#E5Led">E5Led</a></td>
36 <td>Class implementing a LED widget.</td> 39 <td>Class implementing a LED widget.</td>
37 </tr> 40 </tr>
38 </table> 41 </table>
39 <h3>Functions</h3> 42 <h3>Functions</h3>
40 <table> 43 <table>
41 <tr><td>None</td></tr> 44 <tr><td>None</td></tr>
42 </table> 45 </table>
46 <hr /><hr />
47 <a NAME="E5ClickableLed" ID="E5ClickableLed"></a>
48 <h2>E5ClickableLed</h2>
49 <p>
50 Class implementing a clickable LED widget.
51 </p><h3>Signals</h3>
52 <dl>
53 <dt>clicked(QPoint)</dt>
54 <dd>
55 emitted upon a click on the LED with the
56 left button
57 </dd><dt>middleClicked(QPoint)</dt>
58 <dd>
59 emitted upon a click on the LED with
60 the middle button or CTRL and left button
61 </dd>
62 </dl>
63 <h3>Derived from</h3>
64 E5Led
65 <h3>Class Attributes</h3>
66 <table>
67 <tr><td>None</td></tr>
68 </table>
69 <h3>Class Methods</h3>
70 <table>
71 <tr><td>None</td></tr>
72 </table>
73 <h3>Methods</h3>
74 <table>
75 <tr>
76 <td><a href="#E5ClickableLed.__init__">E5ClickableLed</a></td>
77 <td>Constructor</td>
78 </tr><tr>
79 <td><a href="#E5ClickableLed.mouseReleaseEvent">mouseReleaseEvent</a></td>
80 <td>Protected method handling mouse release events.</td>
81 </tr>
82 </table>
83 <h3>Static Methods</h3>
84 <table>
85 <tr><td>None</td></tr>
86 </table>
87 <a NAME="E5ClickableLed.__init__" ID="E5ClickableLed.__init__"></a>
88 <h4>E5ClickableLed (Constructor)</h4>
89 <b>E5ClickableLed</b>(<i>parent=None, color=None, shape=E5LedCircular, rectRatio=1</i>)
90 <p>
91 Constructor
92 </p><dl>
93 <dt><i>parent</i></dt>
94 <dd>
95 reference to parent widget (QWidget)
96 </dd><dt><i>color</i></dt>
97 <dd>
98 color of the LED (QColor)
99 </dd><dt><i>shape</i></dt>
100 <dd>
101 shape of the LED (E5LedCircular, E5LedRectangular)
102 </dd><dt><i>rectRatio</i></dt>
103 <dd>
104 ratio width to height, if shape is rectangular (float)
105 </dd>
106 </dl><a NAME="E5ClickableLed.mouseReleaseEvent" ID="E5ClickableLed.mouseReleaseEvent"></a>
107 <h4>E5ClickableLed.mouseReleaseEvent</h4>
108 <b>mouseReleaseEvent</b>(<i>evt</i>)
109 <p>
110 Protected method handling mouse release events.
111 </p><dl>
112 <dt><i>evt</i></dt>
113 <dd>
114 mouse event (QMouseEvent)
115 </dd>
116 </dl>
117 <div align="right"><a href="#top">Up</a></div>
43 <hr /><hr /> 118 <hr /><hr />
44 <a NAME="E5Led" ID="E5Led"></a> 119 <a NAME="E5Led" ID="E5Led"></a>
45 <h2>E5Led</h2> 120 <h2>E5Led</h2>
46 <p> 121 <p>
47 Class implementing a LED widget. 122 Class implementing a LED widget.

eric ide

mercurial