I require a button/link within a table row of a QTableView. This is to open a dialog to allow that row to be edited more efficiently.
QTableView
After hours of loo
You can use setIndexWidget for that, see the Qt documentation for more information.
setIndexWidget
As an example, to embed a push button in the first column of the second row (untested code):
tableView->setIndexWidget(tableView->model()->index(2, 1), new QPushButton);