[QGIS-Developer] QgsProcessingParameterFile - Multiple extensions

C Hamilton adenaculture at gmail.com
Thu Aug 23 12:42:34 PDT 2018


Does QgsProcessingParameterFile support more than one extensioin ie *.kml,
*.kmz? I've tried various things but none have worked.

        self.addParameter(
            QgsProcessingParameterFile(
                self.PrmInputLayer,
                tr('Import KML/KMZ file'),
                extension='kml')
        )

Thanks,

Calvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180823/6026aa22/attachment.html>


More information about the QGIS-Developer mailing list