Use event->scenePos()
event->pos() is used to represent mouse coords in terms of item So it will be 0 when you use it in scene's mouse event.
Use event->scenePos()
event->pos() is used to represent mouse coords in terms of item So it will be 0 when you use it in scene's mouse event.
The biggest difference between time and space is that you can't reuse time.
-- Merrick Furst
Bookmarks