Results 1 to 12 of 12

Thread: Showing a splash screen with transparency.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Sep 2009
    Location
    Finland
    Posts
    63
    Thanks
    1
    Thanked 22 Times in 19 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Showing a splash screen with transparency.

    I have next piece of code in my project and it produces transparent background for png-image I use.

    Qt Code:
    1. QPixmap pixmap(":/images/splash.png");
    2. QSplashScreen splash(pixmap);
    3. splash.setMask(pixmap.mask());
    4. splash.show();
    To copy to clipboard, switch view to plain text mode 

  2. The following 3 users say thank you to tsp for this useful post:

    Bong.Da.City (12th September 2010), kremuwa (23rd July 2010), saa7_go (22nd July 2010)

Similar Threads

  1. Problem with Splash Screen ?
    By vinod in forum Qt Programming
    Replies: 13
    Last Post: 11th April 2020, 17:15
  2. How to Keep Splash Screen and App on Same Display
    By ajb_advance in forum Qt Programming
    Replies: 2
    Last Post: 4th March 2009, 11:49
  3. Splash screen showing for two seconds
    By Koas in forum Qt Programming
    Replies: 5
    Last Post: 17th October 2008, 19:40
  4. Splash Screen
    By Salazaar in forum Newbie
    Replies: 27
    Last Post: 4th June 2007, 17:31
  5. QTimer based Splash Screen
    By bpetty in forum Newbie
    Replies: 6
    Last Post: 15th December 2006, 00:51

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.