#include <LEDPanel.h>
◆ LEDPanel()
Widgets::LEDPanel::LEDPanel |
( |
const int |
index = -1 | ) |
|
Generates the user interface elements & layout
◆ ~LEDPanel()
Widgets::LEDPanel::~LEDPanel |
( |
| ) |
|
Frees the memory allocated for each label and LED that represents a dataset
◆ resizeEvent()
void Widgets::LEDPanel::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
Changes the size of the labels when the widget is resized
◆ updateData
void Widgets::LEDPanel::updateData |
( |
| ) |
|
|
privateslot |
Checks if the widget is enabled, if so, the widget shall be updated to display the latest data frame.
If the widget is disabled (e.g. the user hides it, or the external window is hidden), then the widget shall ignore the update request.
◆ m_dataContainer
QWidget* Widgets::LEDPanel::m_dataContainer |
|
private |
◆ m_gridLayout
QGridLayout* Widgets::LEDPanel::m_gridLayout |
|
private |
◆ m_index
int Widgets::LEDPanel::m_index |
|
private |
◆ m_leds
QVector<KLed *> Widgets::LEDPanel::m_leds |
|
private |
◆ m_mainLayout
QVBoxLayout* Widgets::LEDPanel::m_mainLayout |
|
private |
◆ m_scrollArea
QScrollArea* Widgets::LEDPanel::m_scrollArea |
|
private |
◆ m_titles
QVector<QLabel *> Widgets::LEDPanel::m_titles |
|
private |
The documentation for this class was generated from the following files:
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/LEDPanel.h
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/LEDPanel.cpp