Update LED Panel

This commit is contained in:
Alex Spataru 2021-10-21 23:01:26 -05:00
parent 362b9d0bac
commit 078948e36b

View File

@ -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