|
@ -23,11 +23,11 @@ MainWindow::MainWindow(QWidget *parent) : |
|
|
*/ |
|
|
*/ |
|
|
QGridLayout *mainLayout = new QGridLayout; |
|
|
QGridLayout *mainLayout = new QGridLayout; |
|
|
|
|
|
|
|
|
mainLayout->addWidget(new ZoneItem(this), 0, 0); |
|
|
|
|
|
mainLayout->addWidget(new ZoneItem(this), 0, 1); |
|
|
|
|
|
|
|
|
mainLayout->addWidget(new ZoneItem(tr("Living room"), this), 0, 0); |
|
|
|
|
|
mainLayout->addWidget(new ZoneItem(tr("Workspace"), this), 0, 1); |
|
|
mainLayout->addWidget(new QPushButton(tr("Menu")), 0, 2); |
|
|
mainLayout->addWidget(new QPushButton(tr("Menu")), 0, 2); |
|
|
mainLayout->addWidget(new ZoneItem(this), 1, 0); |
|
|
|
|
|
mainLayout->addWidget(new ZoneItem(this), 1, 1); |
|
|
|
|
|
|
|
|
mainLayout->addWidget(new ZoneItem(tr("Bathroom"), this), 1, 0); |
|
|
|
|
|
mainLayout->addWidget(new ZoneItem(tr("Bedroom"), this), 1, 1); |
|
|
mainLayout->addWidget(new QPushButton(tr("Auto")), 1, 2); |
|
|
mainLayout->addWidget(new QPushButton(tr("Auto")), 1, 2); |
|
|
|
|
|
|
|
|
QWidget *mainWidget = new QWidget; |
|
|
QWidget *mainWidget = new QWidget; |
|
|