#include <LEDLightWidget.h>
◆ LEDLightWidget()
◆ currentColor()
◆ disableSlot
Disable - Manually disables (turn off) the LED.
◆ enable()
Enable - Manually enables (turn on) the LED.
◆ lightToggledSignal
bool lightToggledSignal |
( |
bool | is_on | ) |
|
|
signal |
◆ paintEvent()
void paintEvent |
( |
QPaintEvent * | | ) |
|
|
protected |
◆ ping()
void ping |
( |
int | mSec = 1000 | ) |
|
Ping - Use Ping to momentarily enable (turn on) the LED.
The Ping method will turn on the led for mSec milliseconds.
- Parameters
-
mSec | - int - number of milliseconds to enable the LED |
◆ setColor() [1/2]
void setColor |
( |
QColor | crOn, |
|
|
QColor | crOff ) |
SetColor - Sets the LED on and off color.
- Parameters
-
crOn | QColor On color |
crOff | QColor off color |
◆ setColor() [2/2]
◆ sizeHint()
◆ updateBlinkSlot
◆ m_blink_timer
QTimer* m_blink_timer = nullptr |
|
protected |
◆ m_is_on
Led state on or off, default off.
◆ m_off_color
◆ m_on_color
◆ m_ping_cascade_count
◆ m_ping_timer
QTimer* m_ping_timer = nullptr |
|
protected |
The documentation for this class was generated from the following files: