The Storm
20th December 2007, 21:59
Here what I have
QFileDialog *fileDialog = new QFileDialog();
fileDialog->setWindowTitle("Open media file");
fileDialog->setFilter(QString("Media Files (*.mp3 *.wav *.wma)"));
fileDialog->exec();
QString szTempFile = fileDialog->result();
I can set WindowTitle, Filter and other functions that take flags, but there is no function that take the Options like QFileDialog::ShowDirsOnly, QFileDialog::DontUseNativeDialog 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. :)
QFileDialog *fileDialog = new QFileDialog();
fileDialog->setWindowTitle("Open media file");
fileDialog->setFilter(QString("Media Files (*.mp3 *.wav *.wma)"));
fileDialog->exec();
QString szTempFile = fileDialog->result();
I can set WindowTitle, Filter and other functions that take flags, but there is no function that take the Options like QFileDialog::ShowDirsOnly, QFileDialog::DontUseNativeDialog 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. :)