[Qt-interest] mouseReleaseEvent( ) of QGraphicsWidget

Bharath Narayan bharath144 at gmail.com
Fri Dec 12 11:50:00 CET 2008


All,
I am sub-classing QGraphicsWidget in my application and am trying to do
something when mouse is released. I implemented mouseReleaseEvent( ) and
when I debugged, I never got the mouse release event at all. Then I
implemented mousePressEvent( ) too, in which case I got the events. I'm a
little confused as to why would such a thing be needed? Is there a reason
behind why a control should be given the Release event only if it accepts
the Press event?

-- 
Thanks,
-Bharath
http://bloggerbharath.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081212/4cc6072e/attachment.html 


More information about the Qt-interest-old mailing list