Results 1 to 3 of 3

Thread: Opacity in Linux OS

  1. #1
    Join Date
    Jan 2007
    Posts
    20
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Opacity in Linux OS

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Opacity in Linux OS

    From QWidget::setWindowOpacity() 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.
    J-P Nurmi

  3. #3
    Join Date
    Jun 2006
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Opacity in Linux OS

    Try setOpacity()

Similar Threads

  1. Replies: 2
    Last Post: 12th January 2007, 11:19
  2. QT 3 (linux) to 4(windows XP)
    By deekayt in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2006, 18:30
  3. Porting Qt3 linux app to windows qt4
    By Philip_Anselmo in forum Qt Programming
    Replies: 7
    Last Post: 15th May 2006, 18:44
  4. Qt 4.1.2 Fails to build on Linux
    By rohandhruva in forum Installation and Deployment
    Replies: 6
    Last Post: 16th April 2006, 21:44
  5. Crosscompile Qt in Linux
    By Morea in forum General Discussion
    Replies: 4
    Last Post: 13th April 2006, 18:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.