[PyKDE] Little article: data-aware widgets implemented in python
Roberto Alsina
ralsina at kde.org
Thu Mar 10 12:10:52 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.
The first part is pretty easy. The second... isn't :-(
--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) ralsina at kde.org
(_Y_.)' ._ ) `._`. " -.-' KDE Developer (MFCH)
_..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.' Buenos Aires - Argentina
Imminentizing the eschaton since 1971.
More information about the PyQt
mailing list