I have a QTreeView with QStandardItems. I have a sub-classed QWigget that will accept drops from the QTreeView. It works great except for one annoying bug.
When the item is dragged over the drop widget, then released, it is not placed where it is dropped, only nearby. This is because I do not know the mouse point within the delegate that is being dragged. If I knew it, I could have it drop right where the user intended it. Instead they have to drop it and reposition it.

How can I get the mouse offset within the delegate, so that it is drag-and-drop-once?