diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-07-01 16:32:30 +1000 |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-07-01 16:55:42 +1000 |
commit | 3084b54e7a4f6163dadcf3e52143391b10b5352e (patch) | |
tree | 7e5cdb9fde77a0164ac5c01a0a05bc392c01a0a4 /doc/src/examples | |
parent | 0e7f70bb44eae2798c7f2198b713dc1c6ab6f652 (diff) | |
download | qt4-tools-3084b54e7a4f6163dadcf3e52143391b10b5352e.tar.gz |
Add abstractitemmodel example, and fix some model docs
Diffstat (limited to 'doc/src/examples')
-rw-r--r-- | doc/src/examples/qml-examples.qdoc | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/src/examples/qml-examples.qdoc b/doc/src/examples/qml-examples.qdoc index 211ee4b0b5..c8a74032b4 100644 --- a/doc/src/examples/qml-examples.qdoc +++ b/doc/src/examples/qml-examples.qdoc @@ -252,6 +252,15 @@ */ /*! + \title Models and Views: AbstractItemModel + \example declarative/modelviews/abstractitemmodel + + This example shows how to use a QAbstractItemModel subclass as a model in QML. + + \image qml-abstractitemmodel-example.png +*/ + +/*! \title Models and Views: GridView \example declarative/modelviews/gridview @@ -306,8 +315,7 @@ \title Models and Views: Object ListModel \example declarative/modelviews/objectlistmodel - This example shows how to create a C++ extension that exposes a - QList<QObject*> as a model in QML. + This example shows how to use a QList<QObject*> as a model in QML. \image qml-objectlistmodel-example.png */ @@ -334,8 +342,7 @@ \title Models and Views: String ListModel \example declarative/modelviews/stringlistmodel - This example shows how to create a C++ extension that exposes a - QStringList as a model in QML. + This example shows how to use a QStringList as a model in QML. \image qml-stringlistmodel-example.png */ |