The documentation should be sufficient. If it is not then that is a bug. BR, Martin
From: [email protected] [mailto:[email protected]] On Behalf Of ext Thomas PABST Sent: Friday, 26 November 2010 1:05 AM To: [email protected] Subject: Re: [Qt-qml] work with folder property on FolderListModel Thanks, that is a good way. Is there a easy way to know all property available with an qml element ? I looked the documentation on http://doc.qt.nokia.com/4.7-snapshot/qml-folderlistmodel.html but it seems not up to date ! The parentFolder property does not appeared on the list. ----------------------------------------------------- Thomas PABST [email protected]<mailto:[email protected]> 2010/11/25 <[email protected]<mailto:[email protected]>> The parent folder is easy to get, since there is a parentFolder property. There is no way to get a directory in the current folder, short of using the model in a repeater, for example. FolderListModel is quite simple and really only designed to allow selecting a file from a list. You could add a suggestion for a more fully featured filesystem model, but for now you will have to extend FolderListModel to suit your needs. Martin. From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of ext Thomas PABST Sent: Thursday, 25 November 2010 1:31 AM To: [email protected]<mailto:[email protected]> Subject: [Qt-qml] work with folder property on FolderListModel Hi, I looking for a way to work with the folder property on a FolderListModel. The folder property is a string oriented in the path management. Is there an easy way to get the parent folder, or get a directory contained in this one ? I saw QUrl Class Reference, but that's only work with C++ ! Thanks ----------------------------------------------------- Thomas PABST [email protected]<mailto:[email protected]>
_______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
