-
Task
-
Resolution: Done
-
P2: Important
-
None
-
-
5a4ffa0de0ecc666a514ef60f0149a76d25b040d (qt/qtdeclarative/5.15)
Right now you can add things to QQmlListProperty, clear it, count its entries, and retrieve one. However, it should be possible to replace an entry.
QQmlListProperty is public API and a template. Changing that in a source and binary compatible way is challenging. However, we do have two spare pointers (dummy1 and dummy2) in there. It should be possible to squeeze a ReplaceFunction into those, even in Qt5.
- relates to
-
QTBUG-71574 Provide a better way to register sequential and associative types for usage in QML
-
- Closed
-
-
QTBUG-84107 Using object list (array) as a model unable to track changes
-
- Closed
-
-
QTBUG-81515 Cannot dynamically remove or reorder QML ShapePaths in QML Shape
-
- Open
-
For Gerrit Dashboard: QTBUG-79263 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
282527,5 | QQmlVMEMetaObject: Don't use QQmlListProperty's reserved fields | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
282588,19 | QQmlListProperty: Add replace and removeLast functions | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
282589,18 | Use the extended QQmlListProperty interface in a few places | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |