[PyKDE] iterating over ListView

Pete Ware ware at cis.ohio-state.edu
Wed Aug 1 15:20:25 BST 2001


Is this what you are looking for?

        item = listview.firstChild ()
        while item:
                if item.isSelected ():
                        count = count + 1
                item = item.nextSibling ()

--pete




More information about the PyQt mailing list