mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Update LED Panel
This commit is contained in:
parent
362b9d0bac
commit
078948e36b
@ -67,7 +67,7 @@ LEDPanel::LEDPanel(const int index)
|
|||||||
|
|
||||||
// Configure grid layout
|
// Configure grid layout
|
||||||
m_gridLayout = new QGridLayout(m_dataContainer);
|
m_gridLayout = new QGridLayout(m_dataContainer);
|
||||||
m_gridLayout->setSpacing(8);
|
m_gridLayout->setSpacing(16);
|
||||||
for (int dataset = 0; dataset < group->datasetCount(); ++dataset)
|
for (int dataset = 0; dataset < group->datasetCount(); ++dataset)
|
||||||
{
|
{
|
||||||
// Create labels
|
// Create labels
|
||||||
@ -85,7 +85,7 @@ LEDPanel::LEDPanel(const int index)
|
|||||||
|
|
||||||
// Set LED color & style
|
// Set LED color & style
|
||||||
led->setLook(KLed::Sunken);
|
led->setLook(KLed::Sunken);
|
||||||
led->setShape(KLed::Rectangular);
|
led->setShape(KLed::Circular);
|
||||||
led->setColor(theme->ledEnabled());
|
led->setColor(theme->ledEnabled());
|
||||||
|
|
||||||
// Calculate column and row
|
// Calculate column and row
|
||||||
|
Loading…
x
Reference in New Issue
Block a user