Update QTableView in QML from C++
I want to use a QTableView in QML and i did it!!! But there is something! I want to update table in C++ every second. how can i do that? I means every second a row should be added to the table.
That depends on how you implemented the model. If it is a C++ model you use, just insert the row and emit the recommended signals.
beginInsertRows/endInsertRows in your model will do the job
I have a standardItemModel. Here is my concern: I have a ListProperty in my class and if i update the list and then the model and emit property signal, will table be updated?!