Keyboard- and mouse-event transparent widget
Posted
by Gajender
on Stack Overflow
See other posts from Stack Overflow
or by Gajender
Published on 2010-01-06T07:43:27Z
Indexed on
2010/03/14
17:05 UTC
Read the original article
Hit count: 267
When i click a button my main window i want it to become transparent to keyboard and mouse events, i.e. all keyboard and mouse events should pass to any windows below it as if that window is not present there.
"Qt::WA_TransparentForMouseEvents" does not work here as this only make child windows transparent to keyboard and mouse events i guess. And my window is main window and i want to pass all event to any window on desktop not just parent window.
© Stack Overflow or respective owner