QComboBox > QListView
Hi. I am new to QT Qt and i have a Question:
I’ll put the subfolderfiles from the parentfolder, who is shown in the QComboBox, in a QListView..
The Box show the right path but i can’t find any way to get the subfolder to the ListView…
can sombody help me?
sorry for my english..
4 replies
Maybe QDir::entryList [doc.qt.nokia.com] is what you are looking for ?
I don’t get exactly what you need, but it sounds like this thread [developer.qt.nokia.com] could be of use for you too.
I’ve solved so…
- QDir dir;
- dir.setPath (ListDir);
- ui->listWidget->addItem(fileName);
- }
thanks…
[EDIT: code formatting, please wrap in @-tags, Volker]
You must log in to post a reply. Not a member yet? Register here!


