How to build simple filmstrip component in Qt for viewing picture slides?
how can i build simple vertical filmstrip component like in this like look the "GalleryView" example:
May be the easiest way is to use Qt Quick. You can use "ListView":http://doc.qt.nokia.com/4.7-snapshot/qml-listview.html for image previews with highlight component to mark image current image.
no im using the c++ way .
We've done something similar with a [[Doc:QListView]] subclass in icon mode, a home-brown [[Doc:QAbstractItemModel]] subclasse to hold the image metadata, and a [[Doc:QStyledItemDelegate]] subclass to draw the image slides.
Sure, it can be done using pure c++. Or you can use all the work already done by the Quick team and create a widget that is internally using QML to do the same with less work. Really, Quick is made for this kind of graphic UI stuff, and Quick 1 can be easily mixed with classic C++.