[QGIS-Developer] Order of algorithms in processing

Alexander Bruy alexander.bruy at gmail.com
Tue Feb 20 05:44:03 PST 2018


Hi Jakob,

you can not contol order of the items in the Toolbox. Items in the
toolbox sorted
in alphabetical order.

2018-02-20 15:26 GMT+02:00 Jakob Lanstorp <jlanstorp at gmail.com>:
> How do you control the order of your algorithms in a group in a qgis
> processing plugin?
>
>     def createAlgsList(self):
>         self.alglist = [
>             Test1GeoAlgorithm(u'Test1', u'Group1'),
>             Test2GeoAlgorithm(u'Test2', u'Group1'),
>             Test3GeoAlgorithm(u'Test3', u'Group1'),
>             Test4GeoAlgorithm(u'Test4', u'Group1')]
>
> In the processing toolbox gui the menu items end up in a random order - and
> not the order of the alglist?
>
> Thanks
> Jakob
>
>
>
> -----
> Jakob Lanstorp
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> _______________________________________________
> 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



-- 
Alexander Bruy


More information about the QGIS-Developer mailing list