Tell me, how can you make it so that QTableView or QTableWidget elements cannot be changed manually, but the slider (scroll bar) is active? If you do this
ui->tableViewResult->setDisabled(true);
the slider becomes inactive (it cannot be used, it can be seen, but it is static)