Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
4.8.3, 5.0.0
-
All platforms. All versions of Qt.
Description
Given a QML list:
FruitBasket { fruit: [ Apple {}, Orange{}, Banana{} ] }
I would like to be able to append items from javascript.
fruit.append(pear)
Several requests for this:
http://www.qtcentre.org/threads/42806-QDeclarativeListProperty-add-item-from-qml-application
http://lists.qt.nokia.com/pipermail/qt-qml/2010-October/001452.html
http://qt-project.org/forums/viewthread/7315
Attachments
Issue Links
- relates to
-
QTBUG-63569 Assigning an array to an entry in a model has no effect
- Closed
-
QTBUG-30236 Assigning to array elements of QQmlListProperty in QML has no effect
- Closed
- replaces
-
QTBUG-34015 Provide More Functionality to QQmlListProperty
- Closed