diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-08-29 08:53:38 (GMT) |
---|---|---|
committer | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-08-29 08:53:38 (GMT) |
commit | 5cd6323211aac99599f38a6c7363ae52b2b5bd02 (patch) | |
tree | d6908a49dbdcf7942122a9e9e91e6cd1653c38e8 /doc/src/declarative | |
parent | 02e2ff4597a7fe81ecbb4b1ef3c5e4a5ac6b7339 (diff) | |
parent | 516ffeecded9ed20ef309143b5f15bcce4abbe60 (diff) | |
download | Qt-5cd6323211aac99599f38a6c7363ae52b2b5bd02.zip Qt-5cd6323211aac99599f38a6c7363ae52b2b5bd02.tar.gz Qt-5cd6323211aac99599f38a6c7363ae52b2b5bd02.tar.bz2 |
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.qdoc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/declarative/anchor-layout.qdoc b/doc/src/declarative/anchor-layout.qdoc index 41b04e8..e93e539 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 |