<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hello,</div><div><br></div><div>I'm working on a plugin that will aim to ensure that the following steps either "transparent" to the user with one click:</div><div>    1. Creating a table with predefined fields</div><div>    2. Record in this table in postgis, then open in Qgis</div><div>    3. Changing the properties (especially the properties of the fields tab) this layer to:</div><div>           - Set "Edit widget" of fields</div><div>           - Associate a form created with Qt Creator</div><div><br></div><div>For steps 1 and 2 is OK.</div><div><br></div><div>However despite researches in the qgis' Cookbook and forums, I haven't find functions that allow me to carry out step 3 using the python console ...</div><div><br></div><div>Have you any idea ?</div><div><br></div><div>Thanks for the answers in advance!</div><div><br></div><div>Guillaume</div>                                       </div></body>
</html>