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

Qt-interest Archive, January 2008
GraphicsSceneMouseRelease don't works on top item


Message 1 in thread

Hi!

I have two QGraphicsRectItems on a QGraphicsScene. Firts item is parent 
of second one. On the second item I have installed filter which simply 
prints message string on press and release event. If filter is installed 
on the second item, "Release" message will never show. Why? If filter is 
on the first item, its all OK - both messages are appears.

http://qtnode.net/index.php/pastebin/5386
compilable example - http://www.creobyte.com/tools/releaseevent.zip

Thanks in advance.
Anton I Alferov.

--
 [ signature omitted ]