-
Native QFileDialog
Hi,
I want to display a native file dialog, but i don't want to use the static functions of QFileDialog,
because i need to explicitly set the selected filter each time.
Is there an easy way to do that? By default, the Qt-styled file dialog is displayed!
Regards,
Panos
-
Re: Native QFileDialog
The only way to use native file dialogs is to use those static methods. What they actually do is that they create a native dialog (ie. not QFileDialog) by using platform-specific APIs where available. Plain QFileDialog is used elsewhere. QFileDialog is a cross-platform file dialog implementation. If you create a QFileDialog, there is no way to turn it as a native file dialog.