[Qt-interest] [ Passing events to a parent ]
ashish raste
rasteashish at gmail.com
Mon Jan 30 12:18:19 CET 2012
Hi all..
I have a MainWindow to which I have set a scrollArea.
And a custom widget set to the scrollArea.
Now as we may know, I am receiving the mouse events on the widget first,
but I want to send them to the scrollArea when a particular condition is
satisfied.
If I call ignore() in the widget's mouse event handler, its being passed to
the MainWindow's mouse-event handler
IS there anyway to pass the event to the scrollArea's mouse-event handler,
which is the parent of the widget?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120130/4a88fc73/attachment.html
More information about the Qt-interest-old
mailing list