[PyQt] QTreeWidget Problem
Min Li
inuyashalee at gmail.com
Mon Nov 3 01:13:28 GMT 2008
Hi everyone.
I want to store the selected item in the QTreeWidget into a local variable.
I use the <variable = self.treeWidget.currentItem()
print variable>
to do this task. However, it returns the following sentences.
'<PyQt4.QtGui.QTreeWidgetItem object at 0x0405CE88>
<PyQt4.QtGui.QTreeWidgetItem object at 0x0407F3D8>'
Is there anyone can help me?
Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20081103/b2796159/attachment-0001.html
More information about the PyQt
mailing list