Improve display of devices in the drawer
BUG: 474453
This commit is contained in:
parent
5e694ded11
commit
aa09d338ee
1 changed files with 7 additions and 3 deletions
|
@ -94,11 +94,15 @@ Kirigami.ApplicationWindow {
|
|||
|
||||
QQC2.ItemDelegate {
|
||||
Layout.fillWidth: true
|
||||
text: model.name + "\n" + toolTip
|
||||
contentItem: Kirigami.IconTitleSubtitle {
|
||||
icon.name: model.iconName
|
||||
icon.width: Kirigami.Units.iconSizes.smallMedium
|
||||
title: model.name
|
||||
subtitle: model.toolTip
|
||||
}
|
||||
|
||||
enabled: status & DevicesModel.Reachable
|
||||
checked: pageStack.currentItem && pageStack.currentItem.currentDevice == device
|
||||
icon.name: model.iconName
|
||||
icon.color: "transparent"
|
||||
onClicked: {
|
||||
root.pageStack.clear()
|
||||
root.pageStack.push(
|
||||
|
|
Loading…
Reference in a new issue