I want to dispay objects in a QGraphicsView and let the user resize the objects using "grab handles". The handles should be squares of a fixed size i.e. 3x3 pixels.

I know how to draw the handles scale- and rotation-invariant, but how do i perform the hit test? shape() returns scene coordinates and I don't know where else to implement this functionality.

This seems like a very general problem which I'd think many users would stumble upon, but so far I have no concept of how to solve it.

Thanks