Добавил загрузку модели, добавил рыбу делегата
This commit is contained in:
21
LightGroup.qml
Normal file
21
LightGroup.qml
Normal file
@@ -0,0 +1,21 @@
|
||||
import QtQuick 2.0
|
||||
import QtQuick.Controls 2.2
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
property string title: ""
|
||||
property var lights: []
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
height: 20
|
||||
|
||||
color: "green"
|
||||
|
||||
Label {
|
||||
text: root.title
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user