25 Constructor |
25 Constructor |
26 |
26 |
27 @param parent reference to parent widget (QWidget) |
27 @param parent reference to parent widget (QWidget) |
28 @param color color of the LED (QColor) |
28 @param color color of the LED (QColor) |
29 @param shape shape of the LED (E5LedCircular, E5LedRectangular) |
29 @param shape shape of the LED (E5LedCircular, E5LedRectangular) |
30 @param rectRation ratio width to height, if shape is rectangular (float) |
30 @param rectRatio ratio width to height, if shape is rectangular (float) |
31 """ |
31 """ |
32 super().__init__(parent) |
32 super().__init__(parent) |
33 |
33 |
34 if color is None: |
34 if color is None: |
35 color = QColor("green") |
35 color = QColor("green") |