Unsolved Mouse Move Event of QGraphicsView
-
I have custom GraphicsView. I override
mouseMoveEvent
. In QGraphicsScene i have QGraphicsRectItem which i can move. When i press not on QGraphicsRectItem and movemouseMoveEvent
works, but when i press on QGraphicsRectItemmouseMoveEvent
doesnt work. In constructor of GraphicsView i wrotesetMouseTracking(true
-
Hi,
Because you are on top of an item which can have it's own handling of mouse events especially if you made it movable.