Quote Originally Posted by Kira View Post
I did look at the methods and signals of QAbstractItemModel already, all I found was "dataChanged" and "layoutChanged".. but this didn't work (Or I used it wrong?).
Then look again, I see 18 signals in the class.

About beginInsertRows/endInsertRows: When I am adding 20 rows where each row has 10 children.. how would I call beginInsertRows?
If you do that in one go then you just call it for the parent rows. The view will notice the children by itself then.

The rows I am adding in a batch have different parents. Or do I call this method only for the top-level hirarchy?
You can call those functions more than once, you know.