[Qgis-user] Switch on only 1 layer of a group

Salvatore Larosa lrssvtml at gmail.com
Fri Nov 14 11:10:47 PST 2014


Hi Andrea,

On Fri, Nov 14, 2014 at 9:42 AM, Salvatore Larosa <lrssvtml at gmail.com> wrote:
> No idea on how to do such an action from python but I think that
> should be handy to do from C++ to have it available in group context
> menu, something like a checkbox "Alternate layers". maybe could you
> open a feature request?

ok, for a workaround python is the road to go, you can use the
snippets to the link [0] like a python macro into your project.
Only change the group name (the groupName variable) which you want to
apply to such feature.

Best Regards,
-SL

[0] - http://codepad.org/BmYxVHgy

-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode



More information about the Qgis-user mailing list