Clickable thumbnails in QLabel or any alternative
I am adding thumbnails of images from a folder in QLabel "(see this post for details)":http://qt-project.org/forums/viewthread/18283/ and displaying. Each image represents thumbnail of a video stream. How can I make these thumbnails as clickable so that respective video is played by clicking the respective thumbnail.
Is it possible with this approach or is there a better way to achieve that?
In my opinion it would be better to use "QPushButtons":http://qt-project.org/doc/qt-4.8/qpushbutton.html ordered in a layout such as "QGridLayout":http://qt-project.org/doc/qt-4.8/qgridlayout.html and a "QSignalMapper":http://qt-project.org/doc/qt-4.8/qsignalmapper.html to identify signals and handle buttons.