Hi,

I've been trying to implement drag&drop functionality in my custom QGraphicsItem object. I've implemented three derived methods: mousePressEvent, mouseReleaseEvent and mouseMoveEvent.

If I simply click an item in scene, press and release events are called. If I try to drag an item, press and move events are called, but release event is not. Why is that?

The problem is that I'd need to get the scene coordinates where I drop the item after dragging. One solution might be to get QCursor::pos() and map it to scene coordinate system, but I guess there is an easier way to do this?