PDA

View Full Version : how to display files of a directory in a listview



sliverTwist
1st April 2013, 14:42
hello

Is there a way to display files of a specified directory in a listview.
Files extension is .ini so what i intend to do is to let the user load a configuration .
Could you give me an example ?

jiveaxe
1st April 2013, 15:01
read doc about QFileSystemModel

ChrisW67
2nd April 2013, 05:29
what i intend to do is to let the user load a configuration .
You probably want to at least look at QFileDialog::getOpenFileName() before reinventing a wheel.