summaryrefslogtreecommitdiff
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-08-29 10:53:38 +0200
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-08-29 10:53:38 +0200
commit5cd6323211aac99599f38a6c7363ae52b2b5bd02 (patch)
treed6908a49dbdcf7942122a9e9e91e6cd1653c38e8 /doc/src/declarative
parent02e2ff4597a7fe81ecbb4b1ef3c5e4a5ac6b7339 (diff)
parent516ffeecded9ed20ef309143b5f15bcce4abbe60 (diff)
downloadqt4-tools-5cd6323211aac99599f38a6c7363ae52b2b5bd02.tar.gz
Merge remote branch 'qt-doc-team/4.8'
Conflicts: doc/src/declarative/righttoleft.qdoc tools/qdoc3/ditaxmlgenerator.cpp tools/qdoc3/generator.h tools/qdoc3/htmlgenerator.cpp
Diffstat (limited to 'doc/src/declarative')
-rw-r--r--doc/src/declarative/anchor-layout.qdoc7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/declarative/anchor-layout.qdoc b/doc/src/declarative/anchor-layout.qdoc
index 41b04e88c8..e93e5399f9 100644
--- a/doc/src/declarative/anchor-layout.qdoc
+++ b/doc/src/declarative/anchor-layout.qdoc
@@ -53,7 +53,12 @@ Rectangle { id: rect1; ... }
Rectangle { id: rect2; anchors.left: rect1.right; ... }
\endcode
-In this case, the left edge of \e rect2 is bound to the right edge of \e rect1, producing the following:
+Each Item has two properties for each anchor line: one to bind from and one to bind to. The properties to bind
+from are contained in the \l{Item::}{anchors} attached property (seen as \c {anchors.left} above).
+The properties to bind to are normal properties (seen as \c {rect1.right} above).
+This way, each item can have several bindings to the same anchor line. Note that the properties to bind to are
+not visible in the documentation for Item.
+So in the example above, the left edge of \e rect2 is bound to the right edge of \e rect1, producing the following:
\image edge1.png