Well I have been working on a Qt app where I need to display Filesystem using QFilesystemModel.I have been able to display it as expected.
This displays all drives inside QTreeView. But we all know by default, the color of the folders present inside each drive is yellow. This is what i wanna change. Is there a way in Qt, where one can change the color of folder to “Blue�??Qt Code:
QFileSystemModel *model = new QFileSystemModel; tree->setModel(model);To copy to clipboard, switch view to plain text mode
Bookmarks