E5Gui/E5Led.py

changeset 4680
b4ddee75f50e
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
equal deleted inserted replaced
4678:2a8b44424952 4680:b4ddee75f50e
294 @param color color of the LED (QColor) 294 @param color color of the LED (QColor)
295 @param shape shape of the LED (E5LedCircular, E5LedRectangular) 295 @param shape shape of the LED (E5LedCircular, E5LedRectangular)
296 @param rectRatio ratio width to height, if shape is rectangular (float) 296 @param rectRatio ratio width to height, if shape is rectangular (float)
297 """ 297 """
298 super(E5ClickableLed, self).__init__(parent, color, shape, rectRatio) 298 super(E5ClickableLed, self).__init__(parent, color, shape, rectRatio)
299
300 self.setCursor(Qt.PointingHandCursor)
299 301
300 def mouseReleaseEvent(self, evt): 302 def mouseReleaseEvent(self, evt):
301 """ 303 """
302 Protected method handling mouse release events. 304 Protected method handling mouse release events.
303 305

eric ide

mercurial