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
> 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.
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
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
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
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