Opened 14 years ago
Closed 14 years ago
#2672 closed patch (fixed)
Set group/layer visibility and expansion state in QgsLegendInterface
Reported by: | andresmanz | Owned by: | nobody |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.5.0 |
Component: | GUI | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Would be nice to set group and/or layer visibility (check state) and expansion state in QgsLegendInterface. I just need it for my plugin, but I thought maybe somebody else could use it someday.
Attachments (2)
Change History (6)
by , 14 years ago
Attachment: | legendiface_ext.patch added |
---|
comment:1 by , 14 years ago
Component: | Python plugins and bindings → GUI |
---|---|
Owner: | changed from | to
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Hi Martin,
Thanks for your suggestions. I hope the new patch is OK. Added a groupExists function, too.
Andres
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied in r13383 (with fixed layerCheckState function).
Thanks for contributing.
Note:
See TracTickets
for help on using tickets.
Hi,
thanks for the patch. I have some suggestions for improvement of the patch in order to commit it:
Looking forward to see the improved patch,
Martin