PyQt5-reorderable-list-model icon indicating copy to clipboard operation
PyQt5-reorderable-list-model copied to clipboard

All fixed in Qt6

Open dfaure-kdab opened this issue 1 year ago • 0 comments
trafficstars

Good news: none of this is necessary in Qt6, where QListView::dropEvent() calls moveRows() on the model, when moving within the same view. So it all works out of the box (as long as you implement moveRows() in the model, of course), including updating the selection.

I just implemented the same for QTableView. I plan on tackling QTreeView next.

dfaure-kdab avatar Aug 12 '24 17:08 dfaure-kdab