Okay, I think I got it. I added a this->reset() in the method addEvent of the model, because this forces the Model/View to update. Maybe not the best solution, but not really clear to me, how to get the dataChanged() signal to work, because it want that I pass two QModelIndex Objects, but how to create them with the right indezes?!
AlphaX2
Bookmarks