def METHOD_NAME(self, section, orientation, role=QtCore.Qt.DisplayRole):
    """Set the headers to be displayed.
    Args:
        section (int): Section number
        orientation (Qt orientation): Section orientation
        role (Qt display role): Display role.  Defaults to DisplayRole.
    Returns:
        str: The header data, or None if not found
    """
    if (role != QtCore.Qt.DisplayRole) or (self.net_info is None):
        return None
    if orientation == QtCore.Qt.Horizontal:
        if section < self.columnCount() - 1:
            return str(self.net_info.columns[section])
        elif section == self.columnCount() - 1:
            return 'component_name'