How to do directory browsing?
-
Like in wondows we do file browsing how can I achieve the same in Qt?
Basically I wanted to provide an UI to user, where he/she can specify directory path, for that he may need to browse folders.
-
You could start by using a QListView in icon mode and a QFileSystemModel.
-
"This":http://doc.qt.nokia.com/4.7-snapshot/tools-completer.html could give you some hints
-
Note that Qt provides lots of pre-made dialogs that might achieve the same thing just as well.
-
[[doc:QFileDialog]] is not what you need?