[PyKDE] SIP and includehints

Bret Wortman bret-online at bretwortman.com
Thu Nov 25 10:27:36 GMT 2004


Thanks, Gerard.  I knew about the Comment workaround but was looking for 
something a bit more elegant.  Having to insert that comment text into 
every created GUI is a pain, especially when the .ui file already knows 
the right headerfile to include, and it's not unreasonable to infer the 
python classname from that....

Gerard Vermeulen wrote:

>On Thu, 25 Nov 2004 16:00:26 +0930
>Bret Wortman <bret-online at bretwortman.com> wrote:
>
>  
>
>>I've got some custom widgets that we've SIP-ed to make them available to 
>>Python.  Unfortunately, the includehints section of the .ui file doesn't 
>>appear to be parsed, so none of the scripts built by pyuic have the 
>>necessary "from foo import *" lines.
>>
>>    
>>
>http://www.river-bank.demon.co.uk/docs/pyqt/PyQt.html#AEN85
>
>Gerard
>
>_______________________________________________
>PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
>http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>
>
>  
>





More information about the PyQt mailing list