Drag and Drop in QTableWidget is overtiring the existing item instead of shifting the existing item
-
Upon drag and drop of an item over an existing item(or between 2 existing items) , it is overwriting that existing item. I want that item should be shifted down instead of getting overwritten.
-
There's no builtin support for that, you will have to code that yourself.
-
It's up to you what happens inside your implementation of QAbstractItemModel::dropMimeData.