QCasper
12th January 2008, 01:06
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 on first, its all OK - both messages are appears.
http://qtnode.net/index.php/pastebin/5386
compilable example - http://www.creobyte.com/tools/releaseevent.zip
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 on first, its all OK - both messages are appears.
http://qtnode.net/index.php/pastebin/5386
compilable example - http://www.creobyte.com/tools/releaseevent.zip