Results 1 to 2 of 2

Thread: how to load multiple images from a single file in a directory simultaneously

  1. #1
    Join Date
    Dec 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default how to load multiple images from a single file in a directory simultaneously

    how to load multiple images from a single file in a directory simultaneously and display them in a window using QLabel as thumbnails.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,679
    Thanks
    13
    Thanked 1,596 Times in 1,524 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to load multiple images from a single file in a directory simultaneously

    If you mean a set of files in a directory then:

    QDir, QFile, QPixmap, QLabel, QGridLayout, and QScrollArea as a start. Or you could look at QListView in QListWidget in IconMode.

    If you have some custom file format that embeds multiple images in a single file then the problem of extracting individual images is entirely up to you.

    Edit: It is bad form to ask the same question repeatedly.
    Last edited by ChrisW67; 3rd January 2012 at 22:27.

Similar Threads

  1. Replies: 3
    Last Post: 3rd April 2010, 21:35
  2. Multiple appearances in a single ui file
    By zgulser in forum Qt Tools
    Replies: 1
    Last Post: 5th June 2009, 20:12
  3. delete a single file from a directory
    By rishiraj in forum Newbie
    Replies: 1
    Last Post: 12th March 2009, 06:46
  4. Multiple project files in a single directory
    By jogeshwarakundi in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 17th July 2008, 08:03
  5. How to create filmstrip - multiple images in a single file
    By jessiemmichael in forum Qt Programming
    Replies: 1
    Last Post: 13th June 2008, 09:30

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.