[Qgis-developer] native file dialogs

John C. Tull jctull at gmail.com
Wed Oct 7 12:48:02 EDT 2009


On Oct 7, 2009, at 7:42 AM, Marco Hugentobler wrote:

> Hi all (especially Tim as app maintainer)
>
> Are there any objections against using native file dialogs where  
> possible? If
> not, I'm going to change the file dialogs in several places (similar  
> to the
> attached example patch which does the change for 'open OGR vector  
> layer').
>
> According to the Qt docs, QFileDialog::getOpenFileNames and similar  
> open a
> native dialog on Windows and OSX. Whereas creating a QFileDialog and  
> calling
> exec() creates a 'normal' QFileDialog.
>
> Advantage of the native dialog is not only the look and feel but  
> also options
> like network drives on windows.

+1.

That would be great to get more ui consistency in the application. It  
can be confusing at times with different types of dialogs popping up.

Regards,
John


More information about the Qgis-developer mailing list