How to tell QTableView with a QAbstractTableModel that the number of rows changed?
Unsolved
General and Desktop
-
Hi,
I'm using a QTableView with a QAbstractTableModel. The associated data is generated by some other process. When data is ready I would like to tell the QTableView that it has to update certain rows.I can use emit dataChanged() to tell the model some table cell has been changed. But how do I tell the model that the number of rows did change?
-
Hi,
That's were begin/endInsertItems comes to play. And their friends when removing rows.