On Tue, Dec 11, 2012 at 08:56:16AM +0100, Sandro Santilli wrote:

> One option would be to store an unique identifier in each LegendGroup object
> and use that identifier for all lookups. There would be a counter within
> each Legend incremented everytime a new group is added. Would this break
> any existing usage ? Are there tests for this in place ?
> The advantage of this is that the interface of addGroup and moveLayer would
> not change.

I've a patch ready implementing a model similar to the above
(only difference is that the counter is a static within the group class)

https://github.com/qgis/Quantum-GIS/pull/351

Feedback welcome

--strk;

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

Reply via email to