[QGIS-Developer] QgsProcessingParameterFile - Multiple extensions
adenaculture at gmail.com
Mon Aug 27 13:09:00 PDT 2018
That's too bad. It would be useful. I will need to not use an extension in
this case because it need to import more than one.
On Sun, Aug 26, 2018 at 9:41 PM, Nyall Dawson <nyall.dawson at gmail.com>
> On Fri, 24 Aug 2018 at 05:42, C Hamilton <adenaculture at gmail.com> wrote:
> > Does QgsProcessingParameterFile support more than one extensioin ie
> *.kml, *.kmz? I've tried various things but none have worked.
> That's not currently supported, unfortunately.
> > self.addParameter(
> > QgsProcessingParameterFile(
> > self.PrmInputLayer,
> > tr('Import KML/KMZ file'),
> > extension='kml')
> > )
> > Thanks,
> > Calvin
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the QGIS-Developer