Results 1 to 2 of 2

Thread: Displaying image

  1. #1
    Join Date
    Jun 2009
    Location
    Portugal
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Displaying image

    Hello there, what's the best/usual way or object to display a simple image (any format) in an application window? I don't need any "advanced" features like rotating or scaling, just a way to display an image from a file in a given location.

    Thanks

  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: Displaying image

    QLabel is the way to go.
    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: 0
    Last Post: 10th March 2009, 00:55
  2. Regarding displaying image in grid.
    By prajna in forum Newbie
    Replies: 3
    Last Post: 20th February 2009, 19:39
  3. problem in Displaying image on push button
    By durgarao in forum Qt Tools
    Replies: 4
    Last Post: 2nd January 2009, 10:27
  4. Displaying a portion of an image
    By tas in forum Qt Programming
    Replies: 4
    Last Post: 28th November 2008, 03:09
  5. displaying png image for a given area..
    By sar_van81 in forum Qt Programming
    Replies: 1
    Last Post: 17th January 2007, 13:56

Tags for this Thread

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.