Hello, I just can’t make the slot work in any QTableView cell, try a lot of any slots and signals, only the clicked () signal works when you click on this cell. But it does not suit me ... Here I’ve stopped at this:
... connect(ui->tableView->model(), SIGNAL(dataChanged(QModelIndex, QModelIndex, QVector<int>)), this, SLOT(changeData(QModelIndex, QModelIndex, QVector<int>))); ... void StaffsForm::changeData(QModelIndex row, QModelIndex col , QVector<int> vec) { qDebug() << "Заработало!"; }
dataChangedshe send adataChangedsignal? - yrHeTaTeJlbflagsandsetDatamethods - yrHeTaTeJlb