[PyKDE] Little article: data-aware widgets implemented in python

Jim Bublitz jbublitz at nwinternet.com
Thu Mar 10 07:03:24 GMT 2005


On Wednesday 09 March 2005 21:13, Roberto Alsina wrote:
> I just wrote an article with an idea on how to implement data-aware
> widgets on the python side of PyQt, so you can, for example, use Python's
> DB APIs instead of Qt's.

> It's kinda nifty, if I may say so myself :-)

> Check it out: http://www.pycs.net/lateral/stories/35.html

That is pretty nifty. 

The other thing I'd like to see is an editable table widget that knows what 
type (string, date, int, float, etc) each of its columns contains and how to 
do conversions transparently, like your widgets do. Preferably it'd also have 
all the necessary logic in place so that it only creates as many rows as are 
visible no matter how large the data set is and still knows how to scroll 
smoothly through a much larger data set.

Jim




More information about the PyQt mailing list