@jdent
Are you asking about void QDataWidgetMapper::setCurrentModelIndex(const QModelIndex &index)
Sets the current index to the row of the index if the orientation is horizontal (the default), otherwise to the column of the index.
This convenience slot can be connected to the signal currentRowChanged()
connect(myTableView->selectionModel(), &QItemSelectionModel::currentRowChanged,
mapper, &QDataWidgetMapper::setCurrentModelIndex);