Доделал переключение каналов, небольшой рефакторинг

This commit is contained in:
2018-08-12 10:06:17 +02:00
parent 39aeb66fff
commit b6001e4e81
7 changed files with 77 additions and 37 deletions

View File

@@ -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)
}
}
}
}