[PyKDE] UI on the fly - in Python

Phil Thompson phil at riverbankcomputing.co.uk
Tue Feb 8 10:17:02 GMT 2005

> Hello list,
> working Eli's problems, I was curious to try out something different
> regarding
> on-the-fly UI creation. I've attached today's results. It only works with
> the
> attached designer file (it's a regular one, but nothing else is tested so
> far)
> and needs cElementTree to run (something else I wanted to try out).
> There's no support for connections yet and most of the code is hacked - I
> just
> wanted it to work for now. Creating a better way of reading constructor
> arguments is just one point, configuring where to load the widgets from
> another
> (want to have your subclassed QListView used transparently? No
> problemo...)
> Anyway, enjoy. If there's enough interest, I'll make it a project.

Turning this into a pyuic replacement would save me a lot of work for PyQt
4 ;)


More information about the PyQt mailing list