Temporarily Disable QTableView UI Update

I have a QStandardItemModel that provides data for a QTableView and a stream that inserts data into the model.

Is it possible to temporarily suspend the table view update model and enable it later?

+4
source share
1 answer

You can use setUpdatesEnabled(bool) in your view and enable updates; perhaps blockSignals(bool) might also be interesting to name it on your model; it should interfere with viewing the model update signal presentation

+2
source

Source: https://habr.com/ru/post/1487632/


All Articles