![]() |
Home · All Classes · All Functions · Overviews |
A list of objects. While not technically a basic type, QML also supports lists of object types. When used from QML, the engine automatically appends each value to the list.
For example, the Item class contains a list property named children that can be used like this:
Item { children: [ Item { id: child1 }, Rectangle { id: child2 }, Text { id: child3 } ] }
Child1, Child2 and Child3 will all be added to the children list in the order in which they appear.
See also QML Basic Types.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.7.0 |