Main window class for controlling LEDs with various modes and speeds.
More...
#include <lightcontrollerwindow.h>
|
| LightControllerWindow (QWidget *parent=nullptr) |
| Constructor.
|
|
| ~LightControllerWindow () |
| Destructor.
|
|
void | process_flip () |
| Handle flipping the LED state.
|
|
void | process_blink () |
| Handle blinking the LED.
|
|
void | process_mode_switching () |
| Switch the LED operation mode.
|
|
void | process_speed_switching () |
| Switch the blinking speed.
|
|
|
static constexpr const char * | DEV_FILE = "red-led" |
| Device file identifier for the red LED.
|
|
static constexpr const short | BLINK_DEF = 500 |
| Default blink interval in milliseconds.
|
|
Main window class for controlling LEDs with various modes and speeds.
◆ Speed
Enumeration for LED blinking speed.
Enumerator |
---|
Slow | Slow blinking speed.
|
Normal | Normal blinking speed.
|
Fast | Fast blinking speed.
|
◆ LightControllerWindow()
LightControllerWindow::LightControllerWindow |
( |
QWidget * |
parent = nullptr | ) |
|
The documentation for this class was generated from the following files:
- extern_app/professionals/boardlevel_application/LightController/Ui/lightcontrollerwindow.h
- extern_app/professionals/boardlevel_application/LightController/Ui/lightcontrollerwindow.cpp