|
@ -32,7 +32,10 @@ MainWindow::MainWindow(QWidget *parent) : |
|
|
zone = new ZoneItem(s->m_rooms.at(i).name, this); |
|
|
zone = new ZoneItem(s->m_rooms.at(i).name, this); |
|
|
zone->m_zoneNameBtn.setProperty("idx", i); |
|
|
zone->m_zoneNameBtn.setProperty("idx", i); |
|
|
zone->m_target_temperature = get_target_temperature(i); |
|
|
zone->m_target_temperature = get_target_temperature(i); |
|
|
|
|
|
/* TODO: make a big clickable zone instead of 3 tiny buttons */ |
|
|
connect(&(zone->m_zoneNameBtn), SIGNAL(clicked()), this, SLOT(show_boost())); |
|
|
connect(&(zone->m_zoneNameBtn), SIGNAL(clicked()), this, SLOT(show_boost())); |
|
|
|
|
|
connect(&(zone->m_temperatureBtn), SIGNAL(clicked()), this, SLOT(show_boost())); |
|
|
|
|
|
connect(&(zone->m_hygroBtn), SIGNAL(clicked()), this, SLOT(show_boost())); |
|
|
m_zones << zone; |
|
|
m_zones << zone; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|