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 |