[Qgis-developer] processing algoritm/script button?
Victor Olaya
volayaf at gmail.com
Mon Apr 4 04:14:08 PDT 2016
there is an option in Processing to add any algorithm as a menu (see
in the Processing options menu), but not as a button,
The "custom toolbar" plugin has that option, and will allow you to add
a new toolbar and button with any Processing algorithm
Hope this helps
2016-04-04 12:35 GMT+02:00 Richard Duivenvoorde <rdmailings at duif.net>:
> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list