Hi! wysota is right! Setting the hidden parameter of the QTreeWidgetItem is only works if it has a parent or container (QTreeWidget) or something like that.