[PyKDE] pyuic and Qt Designer

Leandro Martelli martelli at on.br
Tue Apr 25 23:15:43 BST 2006


Hi All,

I'm trying to work with Qt Designer using python custom widgets.
I've created the custom widget, defined its signals and set the 
'Headerfile' option.
Reading the docs, I saw that the way to import some python file is by 
writing comments on the form.
Is there any way I could instruct pyuic to read the <include> directive 
(inserted when we include a custom
widget) inside the .ui file and generate the apropriate 'from <file> 
import *' ?

Any reasons why it would be a bad ideia to modify pyuic to behave this way?

Regards,

</Martelli>




More information about the PyQt mailing list