[QGIS-Developer] Processing Question: How to Select All with QgsProcessingParameterField
Nyall Dawson
nyall.dawson at gmail.com
Wed Aug 26 15:58:27 PDT 2020
On Thu, 27 Aug 2020 at 04:49, C Hamilton <adenaculture at gmail.com> wrote:
>
> The default operation of a QgsProcessingParameterField in a processing algorithm with allowMuliple set to True is to have none of the attribute fields selected. Is it possible to have all fields selected by default when a layer is selected. The field names are not known ahead of time until the layer is selected.
Set "defaultToAllFields" in the QgsProcessingParameterField constructor to True.
Nyall
More information about the QGIS-Developer
mailing list