Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2008
qgraphicsrectitem and resize


Message 1 in thread

Hi all,
I'm using for a project a QGraphicsScene and i need to be able to resize
 the QGraphicsRectItems i've on it. So I've implemented resize through
the item events.

The problem is that doing so i can only intercept mouse events inside
the qgraphicsitem, not the events nearly outside (near the border).

There's a way i can pass events to the item also if the mouse is near
it? I think of "expanding" the rect, maybe through the bounding rect?

Thank you,
regards.
-- 
 [ signature omitted ]