Results 1 to 2 of 2

Thread: How to Transparrent/Alphablend MainWindow...

  1. #1
    Join Date
    Feb 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default How to Transparrent/Alphablend MainWindow...

    At first, sorry my english..

    I have a simple question, how to make transparrent (aplhablended)
    Mainwindow/widget/frame (and other components on it)?? I tried to do
    this by setPalette and set Alpha channel but it was not good..
    (I looked like that the desktop under it is black, but on my desktop i
    have a picture... :-))

    I want THIS for slow "fade out" my application when you close it...

    Help please!! :-(

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: How to Transparrent/Alphablend MainWindow...

    QWidget::setWindowOpacity ( qreal level )

  3. The following user says thank you to aamer4yu for this useful post:

    Illuminnator (26th February 2007)

Similar Threads

  1. How do I use a mainwindow .ui file?
    By thomaspu in forum Qt Tools
    Replies: 2
    Last Post: 23rd November 2006, 07:32
  2. Replies: 3
    Last Post: 23rd July 2006, 19:02
  3. MainWindow update during computations
    By Gizmho in forum Qt Programming
    Replies: 7
    Last Post: 13th July 2006, 21:10
  4. Paint MainWindow Regions
    By pedros09 in forum Qt Programming
    Replies: 1
    Last Post: 5th May 2006, 10:43
  5. mainwindow does not refresh
    By edb in forum Qt Programming
    Replies: 22
    Last Post: 25th January 2006, 17:42

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
  •  
Qt is a trademark of The Qt Company.