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 <fmro...@fylkesmannen.no> wrote: > There is an excellent module for this here: > > http://3nids.github.io/qgiscombomanager/ > > James > > -----Opprinnelig melding----- > Fra: qgis-developer-boun...@lists.osgeo.org [mailto: > qgis-developer-boun...@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer