Results 1 to 2 of 2

Thread: Filling QPixmap as progressbar

  1. #1
    Join Date
    Apr 2008
    Posts
    196
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    1

    Default Filling QPixmap as progressbar

    Hi @all,

    i want to fill a pixmap's background while a process is loading, instead of the QProgressBar.
    So i think i must overwrite the paint function, but how can i set an image as a mask, so i can fill them per percent?

    Best Regards
    NoRulez

  2. #2
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 163 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Filling QPixmap as progressbar

    when you implement paint anyway: why set a mask? just paint...

Similar Threads

  1. Replies: 0
    Last Post: 17th September 2009, 11:36
  2. Position in a QPixMap created from a QGraphicsScene
    By stevel in forum Qt Programming
    Replies: 8
    Last Post: 8th April 2009, 22:39
  3. QPixmap memory handling
    By Angelo Moriconi in forum Qt Programming
    Replies: 0
    Last Post: 1st December 2008, 15:37
  4. Replies: 5
    Last Post: 9th April 2007, 14:26
  5. QPixmap and HBITMAP
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2006, 16:24

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.