PDA

View Full Version : adding files to QFileSystemModel



gluchu
10th July 2012, 18:01
Hi. I need to do a search on local drivers for image files and display them in a QlistView as thumbnails.
The problem is that I can't put the searched files into one model to put it in QlistView.
Is it posible to create own empty model, and add file by file to it ?

ChrisW67
11th July 2012, 00:25
Is it posible to create own empty model, and add file by file to it ?
Yes... roll your own, use a QStandardItemModel, or use a QListWidget instead