[Qgis-developer] Set values of edit widget value map in a python PlugIn

Michael Pfeiffer Michael.Pfeiffer at bd.so.ch
Mon Mar 2 08:56:18 EST 2009


Hi everybody,

I'm trying to set the following thing automatically in a python PlugIn:

In  Layer properties/attributes the values for the edit widget valuemap.

With the following code 

self.belStand.setEditType(3,QgsVectorLayer.ValueMap)

I set the editType to ValueMap.
So how can I set the values now?

Thanks in advance

Michael


-- 
View this message in context: http://n2.nabble.com/Set-values-of-edit-widget-value-map-in-a-python-PlugIn-tp2409260p2409260.html
Sent from the qgis-developer mailing list archive at Nabble.com.



More information about the Qgis-developer mailing list