[PyKDE] Opinions on pyuic Custom Widget Support

Jim Bublitz jbublitz at nwinternet.com
Sat Dec 14 19:28:01 GMT 2002


On 14-Dec-02 Phil Thompson wrote:
> A more generic, think about it for 2 minutes, solution is to
> allow Python code  to be embedded in the Comment field of the
> Form Settings dialog. Any line beginning with "Python:" will be
> copied to the generated module. This is then  completely
> flexible.
 
> Before I go ahead and implement this, does anybody have any
> better suggestions? Or additional things that could be done for
> common cases (like support for PyKDE widgets).

I believe everything PyKDE needs can be done that way except the
change from QApplication to KApplication, which is a pretty simple
edit. It sounds like a good solution to me (having thought about it
for 2 minutes also).

Jim




More information about the PyQt mailing list