Hi,

My setup, I have a
QGraphicsView Object
QGraphicsScene Object
and a controller object...

The QGraphicsScene returns QGraphicItems usually.

I have a hierachi, where I have created DGraphicRectItems, which derive from QGraphicRectItems.

DGraphicRectItems have mouse methods such as MousePressEvent(); which should overide the QGraphicsRectItems default handling.

However when I press or hover or anything over the DGraphicsRectItem objects on the canvas, nothing happens.

I suspect this is because the mouseEvents are being sent to the QGraphicRectItems since this is what the scene deals with......

But this should not be the case, i should be able to have those D mouse methods run.

Could sombody explain why this is the case?

I have even tried writing mouseEvent->accept(); inside the D mouse method. still nothing happens.