Hi everyone.<br><br>I want to store the selected item in the QTreeWidget into a local variable.<br><br>I use the <variable = self.treeWidget.currentItem()<br><p> print variable> </p><p><br></p><p>to do this task. However, it returns the following sentences.</p>
<p><br></p> '<PyQt4.QtGui.QTreeWidgetItem object at 0x0405CE88><br><PyQt4.QtGui.QTreeWidgetItem object at 0x0407F3D8>'<br><br>Is there anyone can help me?<br><br>Thank you very much!<br><br><br>