[Interest] Forwarding an event to a child

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Wed Jan 29 09:27:27 CET 2014


Dear all,

I'm facing the following issue. I would like to forward events (keys,
mouse, etc...) from a widget to a child widget. I have tried calling
sendEvent(child, event) from reimplemented event handlers.

However, if the child ignores the event, this is re-propagated to its
parent, and this crashes due to recursion. Is there an elegant simple way
to make this work?


Thanks,

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140129/2eff4035/attachment.html>


More information about the Interest mailing list