Improve display of devices in the drawer

BUG: 474453
This commit is contained in:
Jonah Brüchert 2024-01-09 21:38:35 +00:00 committed by Nicolas Fella
parent 5e694ded11
commit aa09d338ee

View file

@ -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(