PDA

View Full Version : Prevent use of GUI Desktop Effects



codeslicer
14th February 2009, 01:06
Hi, I'm making an application, and I don't want the different effects of the Window Manager (such as compiz on Ubuntu) to work for a certain widget.

I have tried:

setAttribute(Qt::WA_PaintOnScreen, true);
But no luck. Anyone have any idea on how to somehow set a Widget Window Hint to prevent desktop effects?

Thanks in advance,
~codeslicer :)

jens
14th February 2009, 09:16
There is not much communication going on between your window manager and Qt so direct control is not really possible. However you can try experimenting with the different window flags. To remove the shadow, you can try to set a mask on the window.