[PyQt] QFIleDialog.getSaveFileName get the selectedFilter
Darryl Wallace
darryl.wallace at prosensus.ca
Tue Mar 10 19:39:41 GMT 2009
I prefer to use the static method for the getSaveFilename in the
QFileDialog so that the user sees the Windows/Mac native dialog.
My problem is that if the user doesn't type the file extension the in
the save file name (say when selecting an image type to save a file as),
then I don't have a way of checking to see what type of file they wanted
to save as.
Is there away to get the selectedFilter using this method?
Thanks,
Darryl
More information about the PyQt
mailing list