[Qgis-developer] Layer combo box

Nathan Woodrow madmanwoo at gmail.com
Fri Oct 4 03:19:57 PDT 2013


Radim,

Yes Denis has some code to do this in Python. There is a pull request for
this however we are going to change the approach and use a model style for
more flexibility.

If you project is in Python I would use stuff James linked to.

- Nathan


On Fri, Oct 4, 2013 at 8:13 PM, Stott James <fmrojst at fylkesmannen.no> wrote:

> There is an excellent module for this here:
>
> http://3nids.github.io/qgiscombomanager/
>
> James
>
> -----Opprinnelig melding-----
> Fra: qgis-developer-bounces at lists.osgeo.org [mailto:
> qgis-developer-bounces at lists.osgeo.org] På vegne av Radim Blazek
> Sendt: 4. oktober 2013 12:11
> Til: qgis-developer
> Emne: [Qgis-developer] Layer combo box
>
> Do we have a class which keeps a combo box updated with list of layers in
> legend? I.e. updates the list if layer is added/removed.
>
> Similar for combo box with fields of a layer selected above?
>
> Radim
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131004/3eec2acc/attachment.html>


More information about the Qgis-developer mailing list