def METHOD_NAME(self, index, role=None) -> Any:
    if not index.isValid():
        return None
    row = index.row()
    if row >= len(self.values):
        return None
    col = index.column()
    v = self.values[row]
    if role == Qt.DisplayRole:
        return self._get_column_text(v, col)
    elif role == Qt.FontRole:
        return Conf.tabular_view_font
    return None