summaryrefslogtreecommitdiff
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-09-01 12:45:36 +0200
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-09-01 12:47:02 +0200
commit47ec2fd2193f56e02a402df4d0fa9f1b521d07fc (patch)
treed4d0af46486c486b25253fde8d4550844dc66dd3 /doc/src/declarative
parent274619e086e6e9ebba6c383ffb837dc140c840e7 (diff)
parentcac60dcca5b4632173a8fe76a78cd2ec9bea5873 (diff)
downloadqt4-tools-47ec2fd2193f56e02a402df4d0fa9f1b521d07fc.tar.gz
Merge branch 4.8 into qt-4.8-from-4.7
Conflicts: tools/qdoc3/ditaxmlgenerator.cpp 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