[PyKDE] PyQt Widgetfactory

Torsten Marek shlomme at gmx.net
Fri Mar 25 18:03:52 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

I have put together a somewhat sane release of a Widgetfactory Python
implementation (was: UI-OnTheFly). I'm still searching for a good name, but that
doesn't mean that there isn't anything else to be done.

Please have a look at the README file and the source code and try it out on your
own ui files (uidisplay.py <your-ui-file>).

There is much to be discussed about several things, including but no limited to:

* how should subclassing be done? resp. how should a UI file be applied to an
existing implementation class? (the current mechanism is nothing but a quick
hack for demo purposes)
* how to handle the widget properties? Resolve anything on the fly (more
flexible, possibly slower) or scan the qt header files and create setting
functions from them (a more flexible variant of the current approach).

I'm also looking for UI files to add to my testsuite, so if you happen to have
some spare UI files, just send them to me.

Code output is missing, but planned, though I first want to complete the dynamic
loader and then "abstract away" from it.

Download url: http://diotavelli.net/files/PyQt-Widgetfactory-0.1.tar.gz

thanks for trying out!

Torsten

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCRFKHfMVFHqJEyFgRAtYmAKCb8fAA3YNFkbrYGFUpBpvHmI7a/ACgnQvg
LieYALzikLWFBrcqyjQm2FY=
=Ocdp
-----END PGP SIGNATURE-----




More information about the PyQt mailing list