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.
Code:
QFileSystemModel *model = new QFileSystemModel;
model->setRootPath(QDir::currentPath())
tree->setModel(model);
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"???