PDA

View Full Version : displaying multiple images in a window ina filmstrip view in qt.



vamsi krishna pannala
30th December 2011, 07:06
hi everyone...
i m just a beginner in qt...i wanted to load multiple images from a folder and display the images in a filmstrip view....

can u please help me in this regard..
i m using Qt4.7 version on windows platform...

hackerNovitiate
2nd January 2012, 10:23
Have a look at QPixmap: http://developer.qt.nokia.com/doc/qt-4.7/qpixmap.html

You can create thumbnails using QPixmap::scaled(), and then display your images in QLabel: http://developer.qt.nokia.com/doc/qt-4.7/qlabel.html

For a horizontal filmstrip, you can use a QHBoxLayout to arrange your many QLabels: http://developer.qt.nokia.com/doc/qt-4.7/qhboxlayout.html