C++ (Qt)if (index.row() >= 0 && index.row() < m_rowList.size()) // Вересовщина :-) if(role == Qt::DisplayRole){ return QVariant(m_rowList.at(index.row()).at(index.column()));