[PyQt] qTreeWidgetItemIterator : how it works

singhai.nish singhai.nish at gmail.com
Thu May 29 10:59:55 BST 2014


I am able to display data in a qtreewidget form. While reading values ( and
after googling ), I find qTreeWidgetItemIterator as a way to iterate through
all the items.

iterator = QTreeWidgetItemIterator(self.light_write,
QTreeWidgetItemIterator.All)  where self.light_write is qtreewidget.

At present above code prints nothing although there is content.

What is the method to loop through all items in a treewidget using
QTreeWidgetItemIterator or if their is any other way.




--
View this message in context: http://python.6.x6.nabble.com/qTreeWidgetItemIterator-how-it-works-tp5058640.html
Sent from the PyQt mailing list archive at Nabble.com.


More information about the PyQt mailing list