[Qgis-developer] Access to the value in a Relation reference wiget

Enrico Fiore enricofiore at libero.it
Tue Apr 7 01:47:26 PDT 2015


Hi,
I am trying to acces to the value stored in a field defined as Relation Reference widget, I tried this code:

    dialog.findChild(QWidget,"fk_via_cod")

so I access to the object but not to the value.

I need to do something like this
     nameFieldDir = dialog.findChild(QLineEdit,"cod_direzione")

How I can perform this?

Regards

Enrico Fiore




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150407/c6f38fb7/attachment.html>


More information about the Qgis-developer mailing list