https://bugs.kde.org/show_bug.cgi?id=499112
--- Comment #1 from Nate Graham <n...@kde.org> --- diff --git src/table/BaseTableView.qml src/table/BaseTableView.qml index 4dbc3d7..55211d4 100644 --- src/table/BaseTableView.qml +++ src/table/BaseTableView.qml @@ -52,6 +52,17 @@ FocusScope { Kirigami.Theme.inherit: false Kirigami.Theme.colorSet: Kirigami.Theme.View + function selectAll() { + for(let i = 0; i < rows; i++) { + selection.select(tableView.index(i, 0), ItemSelectionModel.Select | ItemSelectionModel.Rows) + } + } + + Shortcut { + sequences: [StandardKey.SelectAll] + onActivated: root.selectAll(); + } + TableViewHeader { id: heading This technically works, but on the process table it's so slow that it's not usable. Probably there's a better implementation I didn't find. Also, it only works while the table view has focus. Ideally it would work more broadly. I'm leaving this here for someone else to refine into a mergeable patch. -- You are receiving this mail because: You are watching all bug changes.