November 4, 2010

lawicko lawicko
Lab Rat
1 posts

FolderListModel example showing just one file

 

So I’ve been looking for a way to display the content of a dir. I’ve found this http://doc.qt.nokia.com/4.7-snapshot/qml-folderlistmodel.html#folder-prop and it looks like it’s exactly what I need. However, the example code does not really display everything in the directory, the list is only populated with one file name. Even if I remove the filter I still get just 1 item. Any ideas what am I missing here?

1 reply

November 4, 2010

lawicko lawicko
Lab Rat
1 posts

Forget it, my view delegate was producing items that filled the view port, this is why only one item was visible.

 
  ‹‹ QtDD10 Videos or PPT      DEMO: Qt Quick on iOS (iPod touch 4G) ››

You must log in to post a reply. Not a member yet? Register here!