Here what I have
Qt Code:
  1. QFileDialog *fileDialog = new QFileDialog();
  2. fileDialog->setWindowTitle("Open media file");
  3. fileDialog->setFilter(QString("Media Files (*.mp3 *.wav *.wma)"));
  4. fileDialog->exec();
  5. QString szTempFile = fileDialog->result();
To copy to clipboard, switch view to plain text mode 

I can set WindowTitle, Filter and other functions that take flags, but there is no function that take the Options like QFileDialog::ShowDirsOnly, QFileDialog:ontUseNativeDialog and etc. Maybe there is other way and I can't see it? I don't want to use the static public members like getExistingDirectory() and such.

Thanks.