def METHOD_NAME(self, model):
    """Override model to configure view when a model is expected
    `qt.QHeaderView.setSectionResizeMode` expect already existing columns
    to work.
    :param model qt.QAbstractItemModel: A model
    """
    super(Hdf5HeaderView, self).METHOD_NAME(model)
    self.__updateAutoResize()