Hi.

I create the bounding rectangle as I update the position of an QGraphicsItem (inherited). To check if it is what I want, I paint the boundingRect() at the end of the object's paint(). This looks okay.

My problem is that I see inconsistency on mousePressEvents() Sometimes it works just fine (checking along the border of the drawn boundingRect()) Sometimes it doesn't work at all. I suspect that some transformation or rotation has "warped" my bounding rectangle as the Scene sees it, but I'm not too knowledgable when it comes to transformation matrixes and scene/screen/object coordinates. How can I control that the boundingRect is the same as the mouse pointer sees it and the object sees it?