Results 1 to 2 of 2

Thread: listmodel

  1. #1
    Join Date
    Nov 2011
    Location
    coimbatore
    Posts
    80
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default listmodel

    hi everyone,

    i have created gui..in this gui i have listed images using listmodel and listelement...now i want to use foldermodel instead of listmodel.......please provide possible solutions...

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: listmodel

    If you want foldermodel then use foldermodel.

    What is the problem / question you have?
    Did think about which view to use for foldermodel?
    Can you use QTreeView?
    Can you use QFileSystemModel?
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. ListElement refer ListModel id
    By keolsen in forum Qt Quick
    Replies: 0
    Last Post: 13th November 2012, 10:23
  2. Custom ListModel and QML
    By kernel_panic in forum Qt Quick
    Replies: 1
    Last Post: 8th November 2012, 08:02
  3. QML ListModel for interaction with C++
    By shock in forum Qt Quick
    Replies: 23
    Last Post: 21st March 2012, 23:42
  4. ListModel.remove() crashes program
    By truefusion in forum Qt Quick
    Replies: 5
    Last Post: 5th February 2012, 15:27
  5. A simplest ListModel... no example :(
    By tomek in forum Newbie
    Replies: 5
    Last Post: 7th January 2006, 00:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.