Hello!
My QFileDialog object is for selecting folders. I do like this:
if(flg.exec())
{
...
QFileDialog flg(this, "Choose folder", QDir::homePath(), QString());
flg.setFileMode(QFileDialog::Directory);
flg.setOption(QFileDialog::ShowDirsOnly);
if(flg.exec())
{
QStringList folders = flg.selectedFiles();
...
To copy to clipboard, switch view to plain text mode
I want the file dialog to display my network places (computers that are in my network) in the left panel (near My Computer, My Documents and etc). I know I can use the static method getExistingDirectory() but in that way I can choose only one folder but I need a multiselection. So what should I do? Would you help me, please?
Bookmarks