PDA

View Full Version : how to load multiple images from a single file in a directory simultaneously



vamsi krishna pannala
3rd January 2012, 11:56
how to load multiple images from a single file in a directory simultaneously and display them in a window using QLabel as thumbnails.

ChrisW67
3rd January 2012, 21:15
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.