summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeloader.cpp
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-07-29 05:12:17 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-07-29 05:14:03 (GMT)
commitd27e7484c8fcb08e0c533b9a8bf5af8d527b1de3 (patch)
treec1d167044f80ce3bdd7fa328f734b5d9ef4e92d7 /src/declarative/graphicsitems/qdeclarativeloader.cpp
parent5d5feaa86f3933a1e89b53267953b86e2b0459ed (diff)
downloadQt-d27e7484c8fcb08e0c533b9a8bf5af8d527b1de3.zip
Qt-d27e7484c8fcb08e0c533b9a8bf5af8d527b1de3.tar.gz
Qt-d27e7484c8fcb08e0c533b9a8bf5af8d527b1de3.tar.bz2
Document elements that are focus scopes.
Task-number: QTBUG-12404
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeloader.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeloader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeloader.cpp b/src/declarative/graphicsitems/qdeclarativeloader.cpp
index cc7f8e5..d28181e 100644
--- a/src/declarative/graphicsitems/qdeclarativeloader.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeloader.cpp
@@ -159,6 +159,9 @@ void QDeclarativeLoaderPrivate::initResize()
unloads "Page1.qml" and frees resources consumed by it.
+ Note that Loader is a focus scope. Its \c focus property must be set to \c true for any of its children
+ to get the \e {active focus} (see \l{qmlfocus#Acquiring Focus and Focus Scopes}{the focus documentation page} for more details).
+
\sa {dynamic-object-creation}{Dynamic Object Creation}
*/