Results 1 to 2 of 2

Thread: Changing pixmap in PixmapLabel

  1. #1
    Join Date
    Mar 2006
    Posts
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Red face Changing pixmap in PixmapLabel

    When I set the pixmap staticly in the PixmpaLabel's pixmap property it shows when I compile & run. However, how do I change the pixmap, in a PixmapLabel, under program control? I assume I should use {PixmapLabel->setPixmap();} but cannot figure out how to set the QPixmap constant it calls for.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Changing pixmap in PixmapLabel

    It's about QCursor, but solution is the same: http://www.qtcentre.org/forum/showthread.php?t=1192

Similar Threads

  1. Performance problems with small pixmap
    By RThaden in forum Qt Programming
    Replies: 4
    Last Post: 9th July 2008, 15:14
  2. finding maximum scaling of a pixmap
    By babu198649 in forum Newbie
    Replies: 1
    Last Post: 31st March 2008, 14:32
  3. empty pixmap as a QLabel
    By tommy in forum Qt Programming
    Replies: 16
    Last Post: 11th December 2007, 21:15
  4. Changing QDrag's pixmap
    By Gopala Krishna in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2007, 05:08

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.