Results 1 to 2 of 2

Thread: QPixmap setMask function

  1. #1
    Join Date
    Jun 2010
    Posts
    22
    Qt products
    Qt4
    Platforms
    Windows

    Default QPixmap setMask function

    Is there a way to make it set the pixels to transparent white instead of just changing the alpha channel?

  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: QPixmap setMask function

    What is "transparent white"? You mean #00ffffff? Paint the pixels white and set the mask.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 9
    Last Post: 18th July 2011, 12:39
  2. Function not receiving QPixmap
    By nmuntz in forum Qt Programming
    Replies: 14
    Last Post: 3rd February 2009, 00:52
  3. Qt setMask and resizing
    By bunjee in forum Qt Programming
    Replies: 8
    Last Post: 21st November 2007, 15:01
  4. How to setMask without aliasing
    By burkav84 in forum Qt Programming
    Replies: 1
    Last Post: 10th April 2007, 16:51
  5. QPixmap::setMask() / QWidget::setMask()
    By yogeshm02 in forum Qt Programming
    Replies: 1
    Last Post: 25th February 2006, 11:34

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.