PDA

View Full Version : QGraphicsItem and the selection rect



Markus
9th February 2010, 22:21
Dear all,

I want to build user scaleable QGraphicsItems in a scene (like a resize corner in a window).
So when ever you select a graphicsitem in a scene -- no matter what shape -- it gets a rectangular frame drawn around it (Diagramscene example). But this frame is somehow not in the shape, or at least it is not clickable.

It would be great if there would be a way to get a mousePressEvent on the selecton rect.


Any suggestions?

Markus