E5Gui/E5Led.py

branch
6_1_x
changeset 4681
ea409a95ddfb
parent 4632
ca310db386ed
child 5389
9b1c800daff3
equal deleted inserted replaced
4679:53e2e87076c1 4681:ea409a95ddfb
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