Исправлена структура каталогов

This commit is contained in:
2024-05-16 16:26:38 +02:00
parent 53659cea38
commit fe298f0631
17 changed files with 22 additions and 66 deletions

View File

@@ -0,0 +1,31 @@
import QtQuick 2.0
import QtQuick.Controls 2.0
Page {
title: qsTr("nooLight")
ListView {
anchors.fill: parent
anchors.margins: 5
model: lightsModel
spacing: 5
delegate: LightGroup {
width: parent.width
height: childrenRect.height
title: groupName || ""
lights: channels
onChannelClicked: {
lightsModel.switchChannel(channelId)
}
}
}
BusyIndicator {
anchors.centerIn: parent
running: lightsModel.isLoading
}
}