Re: PyQt: QListviewItemIterator

2007-01-16 Thread Tina I
David Boddie wrote: > > When it.current() returns None. You can rewrite what you already > have like this: > > it = QListViewItemIterator(self.authListView) > while it.current(): > item = it.current() > if item.text(0).contains(filterString) or \ > item.text(1).contains(filter

Re: PyQt: QListviewItemIterator

2007-01-16 Thread David Boddie
On Tuesday 16 January 2007 18:57, Tina I wrote: > I have a QListView with a number of columns. In order to filter the > output I iterate using QListViewItemIterator looking for the string > entered by the user (filterString). Currently I do it this way: [Reformatted code for quoting purposes] >