QTreeWidgetItemIterator is not a widget, it's an iterator. You can use it to iterate over a collection of QTreeWidgetItems.
Unfortunately there isn't much information about it in PyQt docs. You can use it += 1 to move to another element and it.value() to access the QTreeWidgetItem. The question is how do you know if you reached the last item?
I don't have PyQt installed, but judging from the original Qt docs, probably you can do it like this:
Python Code:
while it.value(): doSomethingWithItem( it.value() ) it += 1To copy to clipboard, switch view to plain text mode
Bookmarks