You can have a look to :
http://www.qgis.org/api/classQgsLegendInterface.html
with layers()


2014-06-25 16:44 GMT+02:00 Andrea Peri <aperi2...@gmail.com>:

> Hi,
>
> In API python there a method to retrieve the list of all the layers in
> the project ?
>
> I check in the API and find the
> qgis.core.QgsMapLayer
> but it is the single layer.
>
> Also I find the
> qgis.core.QgsLayerTree
>
> But it seem not only layers but also groups.
> There is a container for all and only layers ?
>
> Thx,
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to