[Qgis-developer] full access to feature in createAttributeEditor

Denis Rouzaud denis.rouzaud at gmail.com
Wed Jun 27 03:01:52 PDT 2012


Hi all,

Maybe still a newbie question, but I don't know how to go around this.

To perform 0-n relations, I need to access another attribute value of 
the current feature (basically its id) in createAttributeEditor.

And as far as I understand it, I only have access to the layer, the 
index of the attribute and its value. But not to the feature (or its id).

How can I do this?

Thanks a lot.

Denis




More information about the Qgis-developer mailing list