Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to create legend groups via the QGis api #12035

Closed
qgib opened this issue Oct 5, 2009 · 2 comments
Closed

ability to create legend groups via the QGis api #12035

qgib opened this issue Oct 5, 2009 · 2 comments

Comments

@qgib
Copy link
Contributor

qgib commented Oct 5, 2009

Author Name: leaffan - (leaffan -)
Original Redmine Issue: 1975

Redmine category:python_plugins
Assignee: Martin Dobias


Using the QGis API it is possible to add layers to the currently opened project using the function addMapLayer() of the [[QgsMapLayerRegistry]] class. Within the GUI it is further possible to add groups to the legend (Right-click on legend area & Add group) that can hold a number of layers. Can this function be exposed to the API? So that new layer groups can be created and/or deleted and new layers can be added to already existing groups etc. That would help programming users to keep a clear project structure.

@qgib
Copy link
Contributor Author

qgib commented Oct 5, 2009

Author Name: Giovanni Manghi (@gioman)


This feature was already requested already in the middle of some discussion here in the Trac :) very useful indeed +1

@qgib
Copy link
Contributor Author

qgib commented Dec 19, 2009

Author Name: Martin Dobias (@wonder-sk)


Resolved with #12245.


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant