cevou
31st July 2010, 13:09
Hi,
i'm trying to move rows between two QTableViews. Both have the same custom model. I reimplemented insertRows, removeRow, removeRows, setItemData, setData and supportedDropActions.
In my views I selected dragEnabled=true, dragDropMode=DragDrop, defaultDropAction=MoveAction, selectionBehaviour=SelectRows.
Now when I try to drag and drop something no dropIndicator is shown and I see the small symbol which shows that drop isn't possible on my view.
And ideas?
Thanks,
Chris
i'm trying to move rows between two QTableViews. Both have the same custom model. I reimplemented insertRows, removeRow, removeRows, setItemData, setData and supportedDropActions.
In my views I selected dragEnabled=true, dragDropMode=DragDrop, defaultDropAction=MoveAction, selectionBehaviour=SelectRows.
Now when I try to drag and drop something no dropIndicator is shown and I see the small symbol which shows that drop isn't possible on my view.
And ideas?
Thanks,
Chris