Results 1 to 2 of 2

Thread: qml listview

  1. #1
    Join Date
    Nov 2010
    Posts
    82
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qml listview

    hi all,

    i'm trying to use the QFileSystemModel in a qml listview and i miss the QAbstractItemView::setRootIndex(const QModelIndex & index) function on the qml listview to browse the filesystem
    is there any way ?

  2. #2
    Join Date
    Nov 2010
    Posts
    82
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qml listview

    sorry to bother i finally found.
    by using a VisualDataModel
    there's a rootIndex property

Similar Threads

  1. ListView problems
    By waitingforzion in forum Newbie
    Replies: 2
    Last Post: 26th December 2009, 01:24
  2. how to use listView enevt
    By tsuibin in forum Qt Programming
    Replies: 4
    Last Post: 2nd November 2009, 03:45
  3. listview
    By addu in forum Qt Programming
    Replies: 2
    Last Post: 11th May 2009, 13:05
  4. ListView and CurrentChanged
    By kroenecker in forum Newbie
    Replies: 13
    Last Post: 24th March 2007, 03:35
  5. General ListView Bug?
    By raphaelf in forum Qt Programming
    Replies: 14
    Last Post: 23rd February 2006, 14:54

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.