Re: [QGIS-Developer] Order of algorithms in processing

2018-02-21 Thread Jakob Lanstorp
@Borys, Yes this is what happens, thanks.

Jakob



-
Jakob Lanstorp
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Order of algorithms in processing

2018-02-20 Thread Borys Jurgiel
AFAICR, they are sorted randomly if you load (or reload) your plugin during a 
QGIS 
session. After QGIS restart (when the algorithms are loaded during the 
startup), they will 
be sorted alphabetically. 

Regards,
Borys


Dnia wtorek, 20 lutego 2018 15:03:35 CET Jakob Lanstorp pisze:
> Hi Alexander,
> 
> It does not seem like it sorted alphabetic (danish)
> 
> 
> 
> 
> 
> 
> 
> -
> Jakob Lanstorp
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Order of algorithms in processing

2018-02-20 Thread Tobias Wendorff
Maybe sorting is done in English and the translation is applied later on?

-- 
Von einem iPhone gesendet und wird daher Fehler enthalten.

> Am 20.02.2018 um 15:03 schrieb Jakob Lanstorp :
> 
> Hi Alexander,
> 
> It does not seem like it sorted alphabetic (danish)
> 
>  
> 
> 
> 
> 
> 
> -
> Jakob Lanstorp
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Order of algorithms in processing

2018-02-20 Thread Jakob Lanstorp
Hi Alexander,

It does not seem like it sorted alphabetic (danish)

 





-
Jakob Lanstorp
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Order of algorithms in processing

2018-02-20 Thread Alexander Bruy
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 :
> 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@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alexander Bruy
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Order of algorithms in processing

2018-02-20 Thread Jakob Lanstorp
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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer