I have another question about drag&drop inside MVC framework.
I need simply move rows inside QtableView,
I go along proposed in docs way - reimplement: mimeType, mimeData, dropMimeData.
But i need such behaviour: when I start dragging row, I need remove this row from table,
then after droping put them in new place, or return to original position if droping was out of widget bounds.
But in what function I can call models func - removeRows? I cann't do this in mimeData because it const.
Where correct place to initialy(on dragging start) remove row?
Thank you!
Bookmarks