[Qgis-developer] Retrieve field name used as label

Tom Chadwin tom.chadwin at nnpa.org.uk
Wed Dec 3 09:32:36 PST 2014


Hello all

I'm trying to build labelling into qgis2leaf. How do I retrieve the name of
the field used as a layer's label? I've tried  QgsLabel::labelField  ( int 
attr ), but I don't understand what the argument attr is.

Thanks

Tom




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Retrieve-field-name-used-as-label-tp5176293.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list