Edit: Use QGraphicsItem :: installSceneEventFilter as suggested in @Frank's answer. Example:
QGraphicsScene scene;
QGraphicsEllipseItem *ellipse = scene.addEllipse(QRectF(-10, -10, 20, 20));
QGraphicsLineItem *line = scene.addLine(QLineF(-10, -10, 20, 20));
line->installSceneEventFilter(ellipse);
ellipse->installSceneEventFilter(line);
The first thing that appeared in my head was the following:
Create a new class, obtained from both QGraphicsItem, and QObject, since they are not interconnected (as far as the documents say), you should have what you wanted.
.... QGraphicsObject, , , , , eventFilter