Is it possible to use QFileSystemModel
to list only one directory contents instead of all drives in my computer (in Windows)?
Asked
Active
Viewed 1,509 times
2

Imran
- 87,203
- 23
- 98
- 131
1 Answers
3
That would be a function of your view, not your model:
http://doc.trolltech.com/latest/qabstractitemview.html#setRootIndex
Update:
No more Trolltech links, the updated link is QAbstractItemView Class
Mohammad Kanan
- 4,452
- 10
- 23
- 47

OliJG
- 2,650
- 1
- 16
- 15