The source project of this merge request has been removed.
taskmanager: Port PlasmaExtras.ScrollArea to PC3.ScrollView in GroupDialog
- Port
PlasmaExtras.ScrollArea
toPC3.ScrollView
, and portRepeater
toListView
so only visible tasks are loaded. - Rework activeTask mechanism to fit
ListView
, so the highlight can be restored after opening the same textual list (findActiveTaskIndex()
). - Drop
updateSize()
function because it's more distinct to use size bindings, and the text width is updated byupdateMaxTextWidth()
. - Drop
attachModel()
function and set model property directly inListView
. - Add
isGroupDialog
bool property toMouseHandler
becauseListView
usesitemAt
instead ofchildAt
to get the item at the cursor position, so drag and drop still works. - Several hacks to prevent warning messages, including "Binding loop detected" and "trying to show an empty dialog".
- Add
iconMargin
andlabelMargin
, so those properties can be shared betweenTask
andGroupDialog
.
Edited by Fushan Wen