View Full Version : QTreeView
merry
29th May 2007, 07:02
Hi all
I m working on my Intel MAC machine and using Qt4.2
My Problem is:
I want to create a Tree of all the directories,subdirectories and files included in the path selected by me using QfileDialog...
Please help..
Thanx
What did you try so far? Are the static public members (http://doc.trolltech.com/4.2/qfiledialog#static-public-members) of QFileDialog of no use for you?
merry
29th May 2007, 08:49
Hi
static public members of QFileDialog of no use for you?
They all are of my use, But now I m trying to do something different
Thanx
They all are of my use, But now I m trying to do something different
But what is this "something different"? How can we help if you don't tell us exactly what do you want..? ;) In some other thread, we have suggested using QTreeView + QDirModel. The detailed description (http://doc.trolltech.com/4.2/qdirmodel#details) part of QDirModel docs shows how to change the root of the view. QDirModel has various methods for filtering and sorting the entries like you want.
merry
29th May 2007, 09:24
I had solved the problem;)
wysota
29th May 2007, 09:38
Good for you. What was the problem?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.