PDA

View Full Version : QFileSystemModel file icon overlays



squidge
17th October 2009, 23:54
QFileSystemModel seems to be perfect for the task I need, being threaded and all. However, I also plan to use a Windows shell extension that uses icon overlays. QFileSystemModel doesn't seem to support these - has anyone any ideas of how to support them?

wysota
18th October 2009, 11:47
I don't think there is a way to do that unless you can ask your system through an API call for icons for specific files that include overlays for them.

squidge
18th October 2009, 12:06
Fair enough, I'll try and subclass QFileIconProvider to provide the required functionality first, and then go from there. Seems the most logical solution.