I have a subclassed QGraphicsItem with a reimplemented mousePressEvent in which I only accept the event based on some logic(which works fine).

The problem is the times when the item should not handle the mousePressEvent, due to my test. I call event->ignore, but the item is still the mousegrabber. And prevents me from selecting any other items. FYI, if the test fails I want the "scene" to be the mousegrabber if the test fails.

In the documentation i read:

If there is no other item beneath, does the view/scene become the mousegrabber automatically?