Re: How pass part of the mouse events through a top-level window to the windows below
Do you mean 100% transparent (i.e by using a mask) or only partly opaque?
Half of my top-level window is transparent, except for a few sites.
If its 100% transparent, no mouse events for that widget will be cought where it is fully transparent.
If it is only partly opaque, then you will have probably have to use an event filter.
Do you really mean "application" or widgets?
I want to ensure that mouse events occurring on that half had passed through my application and reach of applications under him.
Or, do you really mean event between applications, or events between widgets (windows) in the same application?
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Watch these videos, and read his books they are must if you want to write clean code:
Recommended off-line reading Qt:
The Foundations of Qt Development (ISBN: 1-59059-831-8)