原创 QT遍歷特定類型文件

實現qt遍歷文件,通過filter選擇特定的文件類型,實例如下 void ImageTree::addFolderImages(QString path) { //判斷路徑是否存在 QD