'Reimplemented from :func:`ToolTree.setModel`.'

def setModel(self, model):

    proxyModel = ItemDisableFilter(self)
    proxyModel.setSourceModel(model)
    ToolTree.setModel(self, proxyModel)
    self.__invalidateSizeHint()
