How to send a signal to QML that TableView requires an update?
Solved
QML and Qt Quick
-
I am using a TableView https://doc.qt.io/qt-5/qml-qtquick-tableview.html for displaying information. The information is updated from C++. How can I send a signal to qml the TableView has been updated?
Possibly I may use https://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html#invoking-qml-methods , but is this really the way to go?
-
I am using a TableView https://doc.qt.io/qt-5/qml-qtquick-tableview.html for displaying information. The information is updated from C++. How can I send a signal to qml the TableView has been updated?
Possibly I may use https://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html#invoking-qml-methods , but is this really the way to go?