[Qgis-developer] Legend group API

Sandro Santilli strk at keybit.net
Wed Dec 12 03:43:09 PST 2012


On Wed, Dec 12, 2012 at 11:14:12AM +0000, Duarte Carreira wrote:
> Hello all.
> 
> I agree with Massimo. We, users and python plugin developers, need a very small set of functions to work with the layer tree.
> 
> For example, we cannot find a way to add a subgroup to the top or middle of an existing group. They are always put at the bottom of the group:
> 
> -group 1
>   - layer 1.1
>   - layer 1.2
>   - group 1.1
> 
> This way qgis is really very limited in automating complex cartography.
> 
> You should be able to do:
> 
> - group 1
>   - layer 1.1
>   - group 1.1
>   - layer 1.2
> 
> Just quickly fixing the simple, obvious limitations on the api today would be the first step, that would allow a new revision fast. Later, you can revamp the whole thing with all the bells and whistles you want...

So what are you proposing as a quick fix ?
Did you look at my pull request ?
https://github.com/qgis/Quantum-GIS/pull/351

--strk;


More information about the Qgis-developer mailing list