|
cut 3.3.0
|
LED widget. More...
#include <CutWidgets.h>
Properties | |
| QColor | colorOn |
| Color to be used when the LED is lit, or turned on. | |
| QColor | colorOff |
| Color to be used when the LED is turned off. | |
| bool | lit |
| Indicates if the led is to be on or not. | |
| bool | negate |
| Configures the widget to negate the lit value. | |
LED widget.
A LED representation, with two states. The colors for both on and off states can be changed. When the on color is specified, the off color is automatically calculated as a darker shade of the on color
Negate allows to switch state, in case the input signal represents the opposite.
Any color can be used. A base image is used to represent the LED, and the widget replaces the color of the image by the ones indicated in the widgets properties.
A detailed description of RefClass.
|
readwrite |
Color to be used when the LED is turned off.
If no color is manually set, the widget will calculate a darker version of the colorOn.
|
readwrite |
Color to be used when the LED is lit, or turned on.
If no color is manually set, the widget will default to red.
|
readwrite |
Indicates if the led is to be on or not.
|
readwrite |
Configures the widget to negate the lit value.