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

Qt-interest Archive, February 2008
QGraphicsItem shape and mouse events.


Message 1 in thread

Hello, I have implemented shape() to hide parts of GraphicsItem and all child 
items (and set flags as well). 
It works perfect except 1 bag: QGraphicsTextItem refuse to use it.
But my question is: why mouse events are still working for invisible parts of 
items? Should I check contains() in every reimplementation of mouse event hand
lers? Shouldn't it be catched somewere? 

--
 [ signature omitted ]