[Interest] How to filter QFileSystemModel for use in QML

Julius Bullinger Julius.Bullinger at asctec.de
Fri Aug 14 08:52:41 CEST 2015


Curtis Mitch [mailto:mitch.curtis at theqtcompany.com]  wrote on Thursday, 13. August 2015 14:27 Uhr:

> I'm not sure about the rest of your question, but TreeView has a rootIndex property in 5.6:
> https://codereview.qt-project.org/#/c/121991/

While I don't quite understand the reasoning for ``setRootPath()`` to not actually set the models root path, this seems to be the cleanest solution.
Thank you for your help.

Best regards,
Julius



More information about the Interest mailing list