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)

    1 answer 1

    Try this:

     ui->tableViewResult->setEditTriggers(QAbstractView::NoEditTriggers);