Results 1 to 2 of 2

Thread: Window Opacity

  1. #1
    Join Date
    Oct 2007
    Location
    Bangalore
    Posts
    27
    Qt products
    Qt4
    Platforms
    Windows

    Default Window Opacity

    Hi all,

    WindowOpacity is a property of QWidget.. Which provides the transparency and opaque appearance by setting the values ranges from 0.0 for transparency and 1.0 for opaque..

    If i use that property for the Main Application ... the transparency effect is coming ..

    But Inside the application for child widget if i use the same property the effect is not coming..

    Is it applicable only for Main Application??

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Window Opacity

    It is only applicable on top level windows. If you want to have semi transparent child widgets, you have to implement semi-transparency in them yourself.

Similar Threads

  1. Replies: 1
    Last Post: 11th September 2007, 13:34
  2. Replies: 4
    Last Post: 4th June 2007, 12:07
  3. Regarding drawing on Transparent Window
    By Shalabh in forum Qt Programming
    Replies: 3
    Last Post: 31st May 2007, 10:32
  4. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 08:41
  5. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21

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.