'Overriding method headerData'

def headerData(self, section, orientation, role=Qt.DisplayRole):

    if (role != Qt.DisplayRole):
        return to_qvariant()
    i_column = int(section)
    if (orientation == Qt.Horizontal):
        headers = (_('Module'), _('    Required    '), _('    Installed    '), _('Provided    features'))
        return to_qvariant(headers[i_column])
    else:
        return to_qvariant()
