On 10/8/07, <b class="gmail_sendername">Phil Thompson</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> 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>> What's the meaning of the stdset attribute? It turns out that for the<br>> properties of my own custom widget Designer does not specify the stdset<br>> attribute (not quite sure why), and if stdset is missing or equals "1"
<br>> pyuic reverts to the old behaviour of guessing the setter method's name<br>> (rather than using setProperty).<br><br>It means that the name of the setter follows the Qt convention, ie. starts<br>with "set". Designer should give the attribute a value of "0" 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's working now :)<br><br>Arve<br></div><br></div><br>