I am implementing QAbstractTableModel and I would like to insert a QPushButton in the last column of each row. When users click on this button, a n
QAbstractTableModel
QPushButton
You can use
QPushButton* viewButton = new QPushButton("View"); tableView->setIndexWidget(model->index(counter,2), viewButton);