Hi,
I have to programmatically load a qlr file in a PyQGIS script.
Now my code is:xxx = QgsMapLayer.fromLayerDefinitionFile("C:\\xxx.qlr")
but in this way it doesn't manage groups inside qlr file and layers are 
reported in alphabetical order along the tree view.
How is it possible to manage both groups and layers stored in a qlr file?
Thank you in advance for your attention
Andrea Lugli

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to