Thanks for reply.But i need to remove from QTreewidget not from QTreewidgetItem