Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[Solved] C++ QVariantList in QML : view in QML is not updated when I change data in items ?

$
0
0
hi bercik, fxam, thanks for the advice. i could make it work by forcing the signal to be emitted, void MaQGate::SomethingChanged(void) {     nameChanged();     weightChanged(); } I call SomethingChanged() after a property change, and the QML is synced. IT WORKS ! This works fine for now, I’ll have a closer look at QAbstractListModel, it may be a more elegant solution.

Viewing all articles
Browse latest Browse all 4972

Trending Articles