C++ (Qt)// main threadint numRow = model->rowCount();for (int i = 0; i < numRow; ++i) {// do something with row[i]}
C++ (Qt)void MyDelegate::paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const{<- пробой...}
if (massive.size() >= index.row())return QVariant();