[PyQt] qTreeWidgetItemIterator : how it works

singhai.nish singhai.nish at gmail.com
Thu May 29 15:40:52 BST 2014


Thank you for your reply. I have tried this. 

	iterator = QTreeWidgetItemIterator(self.light_write,
QTreeWidgetItemIterator.All)

	while iterator.value():
		print iterator.value()
		iterator+=1

self.light_write  <PyQt4.QtGui.QTreeWidget object at 0x10c39218>
 iterator  <PyQt4.QtGui.QTreeWidgetItemIterator object at 0xf66caa0>

( There is content to read. ). I am certainly missing something. I don't
know. It also means I don't know how to think
like python does. Any help

<http://python.6.x6.nabble.com/file/n5058684/rigname.png> 



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


More information about the PyQt mailing list