[PyKDE] Re: sqlex example

Phil Thompson phil at river-bank.demon.co.uk
Sat Jul 6 15:35:01 BST 2002

Hans-Peter Jansen wrote:

> Hi Phil et al.,
> as promised, sqlex example attached. It's very similar to its ancestor,
> but a bit more comfortable, as usual.
> Two remarks:
>  - I tried to make use from the new pyuic feature to inline python code.
>    While it worked for some time during development, suddenly the 
>    generated code contained some c++ garbage. It was related with 
>    signal/slot fiddling in designer. Therefore a hand edited sqlex.py
>    is attached additionally. Should I rewrite this without inlined
>    code, (can be done quickly) or is there any chance to get this 
>    working safely?

I've now fixed the bug in pyuic. Extracting Python code for slots with 
arguments was broken.

>  - After connecting to the database, runsqlex.py always print:
>    TypeError: destroy() takes exactly 1 argument (3 given)
>    May be my fault, but it would be nice, if you look into it.

I don't see this problem - maybe it was related to the pyuic bug.

This is a really, really nice example.


More information about the PyQt mailing list