PDA

View Full Version : QListView



Yayati.Ekbote
23rd January 2010, 17:11
Well i am a beginner to QT programming. I want to create a directory browser using QListView widget. I can set path using QDir object. How can i make use of QListView so that i can view the directory set by the path. There is no method in QListView class in which i can pass the path string. Please guide me. Do i need to write my own logic by inheriting the QListView class???

wysota
23rd January 2010, 19:50
See QFileSystemModel.