ok,

is this

tableWidget->setSelectionBehavior(QAbstractItemView::SelectRow s);