[Qgis-developer] Legend group API
Sandro Santilli
strk at keybit.net
Tue Dec 11 02:11:33 PST 2012
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;
More information about the Qgis-developer
mailing list