PDA

View Full Version : floderview



ganeshgladish
1st July 2013, 07:24
hi,
i have created one gui like image view using folderview listmodel.....in this model i have images now my question is how to select images(check box) this selected images i want to delete ..how can i do ..please provide some solutions....here i attached my gui

ChrisW67
1st July 2013, 08:49
Iterate over the selected items and delete the related files either through the model or directly (see QFileSystemModel or QFile). What is the problem?

Gokulnathvc
23rd July 2013, 13:35
Get selected item one at a time from folder list view. Just use foreach loop and get items then, remove it. Else if you dont want to see those. just use hide/show. So that you can take images whose visibility is true. This is in the case if you dont want to use index values. All the best.