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!
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to