code: def setupEmptyTree(self):
          
          if hasattr(self, "tree"):
              del self.tree
          self.tree = QtWidgets.QTreeWidget(self)
          self.tree.header().close()
docs: Setup empty Tree at startup.