<div dir="ltr"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Radim,</span><br><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font color="#000000" face="arial, sans-serif">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.</font></div>
<div><font color="#000000" face="arial, sans-serif"><br></font></div><div><font color="#000000" face="arial, sans-serif">If you project is in Python I would use stuff James linked to. </font></div><div><font color="#000000" face="arial, sans-serif"><br>
</font></div><div><font color="#000000" face="arial, sans-serif">- Nathan</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 8:13 PM, Stott James <span dir="ltr"><<a href="mailto:fmrojst@fylkesmannen.no" target="_blank">fmrojst@fylkesmannen.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There is an excellent module for this here:<br>
<br>
<a href="http://3nids.github.io/qgiscombomanager/" target="_blank">http://3nids.github.io/qgiscombomanager/</a><br>
<br>
James<br>
<br>
-----Opprinnelig melding-----<br>
Fra: <a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a>] På vegne av Radim Blazek<br>
Sendt: 4. oktober 2013 12:11<br>
Til: qgis-developer<br>
Emne: [Qgis-developer] Layer combo box<br>
<div class="HOEnZb"><div class="h5"><br>
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.<br>
<br>
Similar for combo box with fields of a layer selected above?<br>
<br>
Radim<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>