Re: [Interest] folderlistmodel qrc:/ with tableview

2014-07-14 Thread Rutledge Shawn
On 13 Jul 2014, at 7:22 PM, Damian Ivanov wrote: Hi all, Is it possible to use a folderlistmodel for a tableview? Yes the QtQuick.Dialogs FileDialog uses this implementation on platforms that don't have native dialogs; look at qtquickcontrols/src/dialogs/DefaultFileDialog.qml. (And if

Re: [Interest] folderlistmodel qrc:/ with tableview

2014-07-14 Thread Damian Ivanov
Thanks FileDialog is sufficient for me! :) 2014-07-14 12:33 GMT+03:00 Rutledge Shawn shawn.rutle...@digia.com: On 13 Jul 2014, at 7:22 PM, Damian Ivanov wrote: Hi all, Is it possible to use a folderlistmodel for a tableview? Yes the QtQuick.Dialogs FileDialog uses this implementation on

[Interest] folderlistmodel qrc:/ with tableview

2014-07-13 Thread Damian Ivanov
Hi all, Is it possible to use a folderlistmodel for a tableview? I'm trying it but the tableview is empty. Also with Qt Creator when I use as folder: for the folderlistmodel qrc:/myprefix and I test it with console.log(folderlistmodel.get(2, fileName)) or any other index it returns files from the