Results 1 to 5 of 5

Thread: QPixmap xx.scaledToWidth dont Scale but load...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    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: QPixmap xx.scaledToWidth dont Scale but load...

    Quote Originally Posted by patrik08
    if const at end i make a copy is right?
    Not quite, const means that this method can't change the object.

    http://www.parashift.com/c++-faq-lit...rrectness.html

    Quote Originally Posted by patrik08
    But now to save i must go toImage ()
    No, you don't: QPixmap::save()

  2. The following user says thank you to jacek for this useful post:

    patrik08 (25th June 2006)

Similar Threads

  1. 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.