When you receive the double click event, use the QGraphicsSceneMouseEvent::screenPos() and move the dialog relative to that point.
It is not ok to use view coordinates, since they are local to the view and very volatile.
Regards
When you receive the double click event, use the QGraphicsSceneMouseEvent::screenPos() and move the dialog relative to that point.
It is not ok to use view coordinates, since they are local to the view and very volatile.
Regards
arjunasd (6th August 2007)
Bookmarks