diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-06-30 04:32:34 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-06-30 04:35:29 (GMT) |
commit | 08c422315d52a9377ebf0912adbe4d17370173af (patch) | |
tree | 9693d0d74d9b45272207847c589f65f488e060c5 /doc/src/declarative/dynamicobjects.qdoc | |
parent | 93ab98ae693c3a1d0b3b96c33543469f520145dd (diff) | |
download | Qt-08c422315d52a9377ebf0912adbe4d17370173af.zip Qt-08c422315d52a9377ebf0912adbe4d17370173af.tar.gz Qt-08c422315d52a9377ebf0912adbe4d17370173af.tar.bz2 |
Docs - add more links to relevant examples
Task-number: QTBUG-11754
Diffstat (limited to 'doc/src/declarative/dynamicobjects.qdoc')
-rw-r--r-- | doc/src/declarative/dynamicobjects.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/declarative/dynamicobjects.qdoc b/doc/src/declarative/dynamicobjects.qdoc index de65a12..a5e53a9 100644 --- a/doc/src/declarative/dynamicobjects.qdoc +++ b/doc/src/declarative/dynamicobjects.qdoc @@ -39,8 +39,12 @@ QML also supports the dynamic creation of objects from within JavaScript code. This is useful if the existing QML elements do not fit the needs of your application, and there are no C++ components involved. +See the {declarative/toys/dynamicscene}{Dynamic Scene example} for a demonstration +of the concepts discussed on this page. + \section1 Creating Objects Dynamically + There are two ways to create objects dynamically from JavaScript. You can either call \l {QML:Qt::createComponent()}{Qt.createComponent()} to create a component which instantiates items, or use \l{QML:Qt::createQmlObject()}{Qt.createQmlObject()} |