[Qgis-developer] processing algoritm/script button?
Richard Duivenvoorde
rdmailings at duif.net
Mon Apr 4 03:35:15 PDT 2016
Hi,
tried to Google this but did not find anything yet. But having a
(custom, complex) processing script, what is the best/easiest way to
give it it's own button on the toolbar?
I could write a minimal plugin to call the algorithm?
OR does processing already have this?
And if not: this is the feature request: ;-)
Given one or more Processing scripts, make it possible to place a button
in the processing toolbar (not yet there...) for it.
Maybe via some syntax like
##button=foo.jpeg
Where foo.jpeg is an image next to the script? Or full path to it
As a tooltip you could see the name of the user script?
If not already there it could create a 'processing scripts button
toolbar' and add the button to it.
Upon clicking the button it would run the script.
One script can have one button.
In this way the user-friendly-ness of a plugin could be combined with
the (for end users sometimes) rather 'technical' view of a processing
script. Especially for those users who only run a couple of specialized
scripts this would be nice.
Regards,
Richard
More information about the Qgis-developer
mailing list