diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-24 04:57:10 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-24 05:49:13 (GMT) |
commit | 70564bdb1856243640d11611515a83d339bb4f2f (patch) | |
tree | 861809d0bcecb26fd576d9b98b2d613f87776510 /src/declarative/util | |
parent | 4ec82624f77d49c2e5f02b04518c8bde1be16145 (diff) | |
parent | 525e6674b002180d691a2d8a787dc512c259ae95 (diff) | |
download | Qt-70564bdb1856243640d11611515a83d339bb4f2f.zip Qt-70564bdb1856243640d11611515a83d339bb4f2f.tar.gz Qt-70564bdb1856243640d11611515a83d339bb4f2f.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/util')
-rw-r--r-- | src/declarative/util/qmllistmodel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp index e2575ab..98c552f 100644 --- a/src/declarative/util/qmllistmodel.cpp +++ b/src/declarative/util/qmllistmodel.cpp @@ -72,7 +72,7 @@ struct ListModelData \qmlclass ListModel \brief The ListModel element defines a free-form list data source. - The ListModel is a simple hierarchy of items containing data roles. + The ListModel is a simple hierarchy of elements containing data roles. For example: \code @@ -93,8 +93,8 @@ struct ListModelData } \endcode - Item roles (properties) must begin with a lower-case letter. The above example defines a - ListModel containing three items, with the roles "name" and "cost". + Roles (properties) must begin with a lower-case letter. The above example defines a + ListModel containing three elements, with the roles "name" and "cost". The defined model can be used in views such as ListView: \code @@ -153,7 +153,7 @@ struct ListModelData width: 200; height: 50 Text { id: Name; text: name } Text { text: '$'+cost; anchors.right: parent.right } - HorizontalPositioner { + Row { anchors.top: Name.bottom spacing: 5 Text { text: "Attributes:" } |