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.
↧