PDA

View Full Version : Opacity in Linux OS



shyam prasad
21st January 2007, 07:01
Hi ..

I want my widget to be transparent .
How to set Opacity of a widget in Linux .

I am using Qt 4.2.2 , On Linux Fedora Core 2.

setWindowOpacity(); is not working in Linux .

Pls help me...

Thanks.

jpn
21st January 2007, 09:31
From QWidget::setWindowOpacity() (http://doc.trolltech.com/4.2/qwidget.html#windowOpacity-prop) docs:


This feature is available on Mac OS X, X11 platforms that support the Composite extension, and Windows 2000 and later.

Note that under X11 you need to have a composite manager running, and the X11 specific _NET_WM_WINDOW_OPACITY atom needs to be supported by the window manager you are using.

cs_raja
22nd May 2007, 05:59
Try setOpacity()