Results 1 to 2 of 2

Thread: Newbie question on QTreeView and QDirModel selected Items

  1. #1
    Join Date
    Mar 2007
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Newbie question on QTreeView and QDirModel selected Items

    All,

    I'm new to QT (using version 4.2.3) and have what I hope is a basic question. I've implemented a File Chooser using QTreeView and QDirModel. I've enabled Continuous selection Mode. My question is how do I efficiently get a listing of the files that have been highlighted by the user. I need an efficent method because I maybe working with a few or many selected files out of thousands of files.

    Thanks in advance!

    Jim Roos

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Newbie question on QTreeView and QDirModel selected Items

    J-P Nurmi

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.