[Qgis-developer] update layer list in python plugin

Denis Rouzaud denis.rouzaud at gmail.com
Wed Apr 24 07:37:00 PDT 2013


Hi Otto,

Not sure to understand what you mean.
But, can't you update your list by connecting signals either from the 
layer regirstry, or the legend interface ?


Denis

On 04/24/2013 04:23 PM, Otto Dassau wrote:
> Hi,
>
> how is it possible to update the list of available layers in a python plugin
> automatically, when I add or remove layers from QGIS legend?
>
> To load the layers I use QgsMapLayerRegistry
>
> Regards
> Otto
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list