PDA

View Full Version : QGraphicsSceneMouseEvents



Kingofhearts_sri
3rd July 2009, 10:14
Hi,
I have a problem with the QGraphicsSceneMouseEvents of QGraphicsItem and QGraphicsScene. I have implemented mousePressEvent and mouseMoveEvent for both scene class and Item class. But only my scene class mousePressEvent and mouseMoveEvent are working.
how can I make both scene class and Item class events to work.

Kingofhearts_sri
4th July 2009, 07:21
Hi friends,
Plz help me i m not getting it QGraphicsSceneMouseEvents are not working

Lykurg
4th July 2009, 07:48
How looks your code? But probably you have forgotten to redirect the event!

c_srikanth1984
4th July 2009, 08:34
calling base class virtual function may do it.