How about masking, QWidget::setMask()?
setMask will not help because i need to catch the mousePressEvent and mouseReleaseEvent even on the transparent part.
Here is the basic idea :
1. The application has some text that can be seen big (huge) if user wants to.
2. The the text appears as if it is drawn on the desktop itself.
3. When user is done with the viewing, he/she can preform any keyboard or mouse event (not mouse move) anywhere on the desktop (since the text appears to be drawn on the desktop) and the huge text will disappear.
Is there a simple and platform independent way of implementing this ?
Thanks a lot.
Mithin
www.mithin.in
Just an idea:
1) use masking as proposed
2) additionally use window flags to hide the taskbar entry
3) QWidget::lower() the window so it becomes the bottom most window
4) instead of trying to catch input events for the whole screen, try detecting situations like when the window is deactivated and so on
J-P Nurmi
Bookmarks