diff options
| author | David Faure <david.faure@kdab.com> | 2024-08-12 18:54:10 +0200 |
|---|---|---|
| committer | David Faure <david.faure@kdab.com> | 2024-08-28 15:07:20 +0200 |
| commit | 8e63cf282cb248ddd7fbc908766091659b3a0b22 (patch) | |
| tree | 163f8e4bf949ad7a5506473363f9fa9ed9e8073b /src/network/access/qnetworkrequest.cpp | |
| parent | 7f01b62969d1734832ead0547904902ae0f1b5dd (diff) | |
QTableView: implement moving rows by drag-n-drop
This is only available when calling setDragDropOverwriteMode(false)
so this makes no difference in most applications (see implementation
of QAbstractItemView::position).
QTableWidget::dropEvent() was assuming we were dropping onto items
without checking that this was the case, this is fixed here,
and QTableView::dropEvent() is added to handle moving rows,
with very similar code to QListView::dropEvent().
Task-number: QTBUG-13873
Task-number: QTBUG-101475
Pick-to: 6.8
Change-Id: I96e75da2c0abf6f568edba461735905dee5cb84f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/network/access/qnetworkrequest.cpp')
0 files changed, 0 insertions, 0 deletions
