Hi Even

On 22/04/16 16:32, Even Rouault wrote:
Thanks, that make sense. And it is actually implemented by
QgsRelationReferenceWidgetWrapper.
Arg, I meant QgsValueRelationWidgetFactory. It is *not* by
QgsRelationReferenceFactory, hence my question about the appropriatness of
doing so.

Yes, sounds reasonable to me. And I think it would also make sense to implement a shorthand QgsEditorWidgetWrapper::displayValue() for this functionality. That's where one would expect such a method and it reduces boilerplate code, the best demonstration for this is this thread I guess.

Matthias
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to