[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Project folder view
From:       Tomaz Canabrava <tumaix () gmail ! com>
Date:       2009-03-01 17:05:58
Message-ID: 7ebbb4b50903010905s29706c91r313614fe7148fb74 () mail ! gmail ! com
[Download RAW message or body]

What about QDirModel? ;D

On Sat, Feb 28, 2009 at 7:19 PM, Giles Turner <giles_kde@yahoo.co.uk> wrote:
> Hi,
>
> I am trying to write a KDE application that will show a view of a project
> folder as a tree, with the root node of the tree set to the top folder in
> the project.
>
> I have tried using QFileSystemModel, which looks like it should provide the
> functionality I need, but it always shows the complete file hierarchy of the
> entire hard drive. This is despite using setRootPath() to point to the
> project folder.
>
> What is the simplest approach, or the best classes to use to show the file
> tree of a specific folder? I just need to display the names of the
> folders/files, I am not interested in dates, sizes, etc.
>
> Thanks,
> Giles
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
>>> <<
>
>



-- 
Um Computador sem Windows é como um Navio sem dançarinas de Can-Can
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic