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

How do I know my QQmlListProperty changed from QML?

$
0
0
If you want your list property content to be modifiable from JS/QML and detect the changes in your Image class then either your container class (list property implementation) allows you to detect the changes or you have to provide a method in class Image to be called when adding/removing items. QQmlListProperty is a simple container and as far as I know does not offer you detecting changes to the underlying QList content.

Viewing all articles
Browse latest Browse all 4972

Trending Articles