summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qdeclarativedocument.qdoc
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-30 03:01:23 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-30 03:01:23 (GMT)
commit765c263d538b258f223dfb6bd7f62dbd19853db6 (patch)
treee123e3b4245358ac21623faa3e3d97bd5e75f3c0 /doc/src/declarative/qdeclarativedocument.qdoc
parenteef2e72976f3f8d10a34c9dfb3f60f40616f4df9 (diff)
downloadQt-765c263d538b258f223dfb6bd7f62dbd19853db6.zip
Qt-765c263d538b258f223dfb6bd7f62dbd19853db6.tar.gz
Qt-765c263d538b258f223dfb6bd7f62dbd19853db6.tar.bz2
Mention scope of id uniqueness
Task-number: QTBUG-12528
Diffstat (limited to 'doc/src/declarative/qdeclarativedocument.qdoc')
-rw-r--r--doc/src/declarative/qdeclarativedocument.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/declarative/qdeclarativedocument.qdoc b/doc/src/declarative/qdeclarativedocument.qdoc
index f12e547..068297a 100644
--- a/doc/src/declarative/qdeclarativedocument.qdoc
+++ b/doc/src/declarative/qdeclarativedocument.qdoc
@@ -73,6 +73,10 @@ document - such as \c Rectangle and \c ListView - including those made within an
import statements. QML does not import any modules by default, so at least one \c import
statement must be present or no elements will be available!
+Each \c id value in a QML document must be unique within that document. They
+do not need to be unique across different documents as id values are
+resolved according to the document scope.
+
\section1 Documents as Component Definitions