Re: [PyKDE] Little Python helpers for PyQt

2004-01-24 Thread Phil Thompson
On Thursday 22 January 2004 12:58 am, Torsten Marek wrote: > Hello all, > > I think I can safely presume that anybody of you who has been working > extensively with PyQt has created his/her own set of little helper > functions that proved very useful in several projects of yours, because > I see ex

Re: [PyKDE] Little Python helpers for PyQt

2004-01-23 Thread Jonathan Gardner
> On Thu, 22 Jan 2004 01:58:02, Torsten Marek wrote: > >> Ongoing, we could create a small collection of pyqt-helpers which >> could then be downloaded from pykde.sf.net (or even included into >> PyQt, but that's completely up to Phil, who may forgive me my >> ambitions), to the benefit of us all.

Re: [PyKDE] Little Python helpers for PyQt

2004-01-22 Thread Gordon Tyler
Torsten Marek wrote: def ListBoxIterator(listbox, selectedOnly = False): i = listbox.firstItem() while i: if selectedOnly and not i.isSelected(): continue yield i i = i.next() return If I'm not mistaken, passing True to selectedOnly will make that fu

Re: [PyKDE] Little Python helpers for PyQt

2004-01-22 Thread David Boddie
On Thu, 22 Jan 2004 01:58:02, Torsten Marek wrote: > Ongoing, we could create a small collection of pyqt-helpers which could > then be downloaded from pykde.sf.net (or even included into PyQt, but > that's completely up to Phil, who may forgive me my ambitions), to the > benefit of us all. I real

Re: [PyKDE] Little Python helpers for PyQt

2004-01-21 Thread Jim Bublitz
On Wednesday January 21 2004 16:58, Torsten Marek wrote: > I think I can safely presume that anybody of you who has been > working extensively with PyQt has created his/her own set of > little helper functions that proved very useful in several > projects of yours, because I see exactly that happe

[PyKDE] Little Python helpers for PyQt

2004-01-21 Thread Torsten Marek
Hello all, I think I can safely presume that anybody of you who has been working extensively with PyQt has created his/her own set of little helper functions that proved very useful in several projects of yours, because I see exactly that happening with me. For instance, I have several generato