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 <[EMAIL PROTECTED]> 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    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde






_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to