[QGIS-Developer] Questions regarding the QgsProcessingAlgorithm class
Bo Victor Thomsen
bo.victor.thomsen at gmail.com
Thu Nov 23 03:03:30 PST 2023
Hi list -
I apologize for the cross-posting to this mailing list from qgis-user.
But I hope, that somebody has the answers to the questions...
I have a couple of (probably dumb) questions on how to use the
"QgsProcessingAlgorithm" class.
* A have a lot parameter inputs placed in the "advanced" section af
the processing input dialog. It's parameters that seldom has to be
changed.
How do I present the "Avanced" section /not/ unfolded? The default
is to unfold this section and thus possibly confuse users by showing
a lot of seldom changed parameters.
* One of my input parameters is a "QgsProcessingParameterString"
parameter that will contain a password.
Can I obfuscate the parameter input, i.e showing '*******' instead
of the password ?
* the "QgsProcessingParameterFeatureSource" method creates a drop-down
with names of layers in the map /and/ a checkbox with the label
"Selected features only". Is it possible to set the checkmark
automatically when showing the processing userdialog ? And how ??
--
Med venlig hilsen / Best regards
Bo Victor Thomsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20231123/9ebf5519/attachment.htm>
More information about the QGIS-Developer
mailing list