https://bugs.kde.org/show_bug.cgi?id=426001
Bug ID: 426001 Summary: Give BasicListItem the ability to display a checkbox Product: frameworks-kirigami Version: 5.70.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: notm...@gmail.com Reporter: n...@kde.org Target Milestone: Not decided The parent item (AbstractListItem) can already be checkable. It would be nice if the list item itself would display a checkbox for this case. Something like this I guess: diff --git src/controls/BasicListItem.qml src/controls/BasicListItem.qml index 2591a5c..968413d 100644 --- src/controls/BasicListItem.qml +++ src/controls/BasicListItem.qml @@ -87,6 +87,13 @@ AbstractListItem { contentItem: RowLayout { id: layout spacing: LayoutMirroring.enabled ? listItem.rightPadding : listItem.leftPadding + QQC2.CheckBox { + visible: listItem.checkable + checked: visible ? listItem.checked : undefined + onToggled: { + listItem.action.checked = true; + } + } Icon { id: iconItem source: { -- You are receiving this mail because: You are watching all bug changes.