[PyKDE] QListViewItemIterator?

Boudewijn Rempt bsarempt at xs4all.nl
Thu Jun 21 20:10:03 BST 2001

On Wed, 20 Jun 2001, Phil Thompson wrote:

> Iterators in general aren't implemented. Until Python 2.0 there wasn't
> an obvious way to get them to iterate as Python didn't have ++ or +=
> operators. SIP has support for providing handwritten code to implement
> += for classes, so something could be done, but I think you are the
> first person to ask in nearly 3 years.

I have tried to use them, too, for my chapter on Python objects
and Qt objects - in connection with the layout managers. If I
remember correctly, I tried to list out the hierarchy of widgets and
layoutmanagers - something you cannot do without the iterator functions. I
wasted a good few evenings on trying this out...

More information about the PyQt mailing list