[Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

Giuseppe Sucameli sucameli at faunalia.it
Mon Oct 8 09:06:17 PDT 2012


On Mon, Oct 8, 2012 at 5:58 PM, Giuseppe Sucameli <sucameli at faunalia.it> wrote:
> The QgsProject.write(...) calls the QgsLegend.writeXml(...)
> to write all the stuff needed to re-create the legend tree,
> so we could just expose the QgsLegend.writeXml().

I meant QgsLegend.writeProject(QDomDocument)

> A legend layer can contains more sublayers,
> it has the following structure:

and also here, no sublayers...
filegroup is there I guess only for compatibilty.

Regards.

-- 
Giuseppe Sucameli - Faunalia


More information about the Qgis-developer mailing list