[PyKDE] pyuic

Phil Thompson phil at riverbankcomputing.co.uk
Thu Feb 24 10:40:41 GMT 2005


> I've been messing around with Python/QT/KDevelop which of course,
> converts a .ui to a .py file.
> Is there any work being done to _not_ erase the code in the .py file
> when redesigning the form?
>
> I find it rather frustrating when I make a small change in the .ui and
> then have to rewrite all of my python code for that module.
>
> OR
>
> Is there a way to inherit from the generated .py file in such a way that
> I can put my code in another derived class and still use the component
> events in that derived class?

Yes - that's how you're supposed to use it. I'm not sure what you mean by
"in such a way".

Phil




More information about the PyQt mailing list