[QGIS-Developer] Order of algorithms in processing

Jakob Lanstorp jlanstorp at gmail.com
Tue Feb 20 05:26:44 PST 2018


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


More information about the QGIS-Developer mailing list