Доделал переключение каналов, небольшой рефакторинг
This commit is contained in:
@@ -7,6 +7,8 @@ Item {
|
||||
property string title: ""
|
||||
property QtObject lights: undefined
|
||||
|
||||
signal channelClicked(int channelId)
|
||||
|
||||
Column {
|
||||
width: root.width
|
||||
|
||||
@@ -71,6 +73,10 @@ Item {
|
||||
text: name
|
||||
}
|
||||
}
|
||||
|
||||
onClicked: {
|
||||
root.channelClicked(id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user