Hi,

I'm implementing drag and drop in a subclassed QTreeWidget. The drop indicator shows either a rectangle if the mouse cursor is on an item and a horizontal line if the mouse cursor is exactly between two items (or at the start or end of a list of items).

How can i extract this information in my dropEvent(QDropEvent *p_Event)? At the moment i'm using itemAt(p_Event->pos()) to get the target item, but that isn't enough for above mentioned.

Any ideas?

Kind Regards,
Daniel Dekkers