[Qt-interest] Is there any way to pass mouse events through a top level widget?

liang jian jianliang79 at gmail.com
Sat Sep 11 04:41:54 CEST 2010


    I know there is an attribute called
Qt::WA_TransparentForMouseEvents can disable the delivery of mouse
events, but unfortunately it works only for child widgets.
    I have also try to override event() method to ignore all the mouse
events, but Qt will not propergate these mouse events to its parent
because it is a top-level widget.
    Is there any way to pass mouse events through a top level widget?



More information about the Qt-interest-old mailing list