Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User pixsta's Avatar
    Join Date
    Apr 2008
    Posts
    437
    Hello,

    Is it possible to set attributes in the FolderListModel [1]? For instance to show also hidden files/folders? I could not find such an option in the docs but perhaps there is again some undocumented/hidden feature?

    Regards,


    [1] http://doc.qt.nokia.com/4.7-snapshot...listmodel.html

  2. #2
    Nokia Developer Expert izinin's Avatar
    Join Date
    Oct 2007
    Posts
    441
    it is not possible to set file attributes in QML FolderListModel element for filtering --- except showOnlyReadable. It is defined by implementation. i think it is not difficult to implement FolderListModel alternative from example application :

    search for FolderListModel example in Qt Creator from Qt SDK 1.2 (latest) ---> Welcome page ---> search bar keyword "folder" and alter it !, however it will be platform depended solution.

  3. #3
    Nokia Developer Champion vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,840
    Just a guess, is it possible to expose a c++ model with modified properties(as mentioned in the requirement) to the QML?

  4. #4
    Nokia Developer Expert izinin's Avatar
    Join Date
    Oct 2007
    Posts
    441
    do you want to alter QML implementation ? --- it is possible as well since it is open source , but altering tutorial example is much easier --- the both expose C++ model

  5. #5
    Registered User pixsta's Avatar
    Join Date
    Apr 2008
    Posts
    437
    I will extend/modify the FolderListModel to include hidden files. I just thought that there might be some kind of trick to make it view hidden files without modifications.

Similar Threads

  1. hidden files
    By cool_eagle in forum Python
    Replies: 0
    Last Post: 2010-03-24, 20:20
  2. Saving files as hidden
    By chandran.biju007 in forum Symbian C++
    Replies: 4
    Last Post: 2010-03-23, 02:02
  3. show hidden files??
    By arun09 in forum Symbian C++
    Replies: 9
    Last Post: 2009-12-11, 12:22
  4. Hidden Jar files
    By Demerzel81 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-10-29, 16:39
  5. hidden files
    By NickN70 in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2005-11-18, 15:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved