You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: