[Qgis-developer] pyqgis change field editwidget

Alexandre Busquets abusquets at gmail.com
Tue Mar 3 06:22:34 PST 2015


I have found this post that explains how to do it

http://gis.stackexchange.com/questions/66878/how-to-programmatically-associate-a-layer-with-a-custom-ui

Thanks.


2015-03-02 15:09 GMT+01:00 Alexandre Busquets <abusquets at gmail.com>:

> Hi,
>
> is possible change the editwidget with pyqgis?
>
> I have made an extension that loads a postgis layer and I want to edit the
> date fields with the date widget by default without any change in the
> settings of layer ( "layer properties dialog").
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150303/d268abbc/attachment.html>


More information about the Qgis-developer mailing list