On 10/8/07, <b class="gmail_sendername">Phil Thompson</b> &lt;<a href="mailto:phil@riverbankcomputing.co.uk">phil@riverbankcomputing.co.uk</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 08 October 2007, Arve Knudsen wrote:<br>&gt; What&#39;s the meaning of the stdset attribute? It turns out that for the<br>&gt; properties of my own custom widget Designer does not specify the stdset<br>&gt; attribute (not quite sure why), and if stdset is missing or equals &quot;1&quot;
<br>&gt; pyuic reverts to the old behaviour of guessing the setter method&#39;s name<br>&gt; (rather than using setProperty).<br><br>It means that the name of the setter follows the Qt convention, ie. starts<br>with &quot;set&quot;. Designer should give the attribute a value of &quot;0&quot; in the .ui file
<br>if the 0x000000100 flag is clear in the property flags in the meta-object.<br><br>If you look at the qtcore_qt_metaobject_worker() function in qobject.sip you<br>can see where it is checking the name of the setter and setting the flag
<br>appropriately.</blockquote><div><br>OK, thanks for the explanation, Phil. I was able to find out what I did wrong, it&#39;s working now :)<br><br>Arve<br></div><br></div><br>