diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-07-14 01:51:22 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-07-14 01:51:22 (GMT) |
commit | 07ebc9161263c04dc072b9fc2a922b9665cbe7be (patch) | |
tree | bbf983b8968f4a0df6ac089a7ff716ec4a66efc6 /doc/src/declarative | |
parent | 237bc693a527f9cb2b6bbe7c518018cbf56b0eb6 (diff) | |
download | Qt-07ebc9161263c04dc072b9fc2a922b9665cbe7be.zip Qt-07ebc9161263c04dc072b9fc2a922b9665cbe7be.tar.gz Qt-07ebc9161263c04dc072b9fc2a922b9665cbe7be.tar.bz2 |
improvements to docs and examples
Diffstat (limited to 'doc/src/declarative')
-rw-r--r-- | doc/src/declarative/anchor-layout.qdoc | 5 | ||||
-rw-r--r-- | doc/src/declarative/basictypes.qdoc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/declarative/anchor-layout.qdoc b/doc/src/declarative/anchor-layout.qdoc index 9c217e1..5c025e5 100644 --- a/doc/src/declarative/anchor-layout.qdoc +++ b/doc/src/declarative/anchor-layout.qdoc @@ -33,7 +33,10 @@ In addition to the more traditional \l Grid, \l Row, and \l Column, QML also provides a way to layout items using the concept of \e anchors. Each item can be thought of as having a set of 7 invisible "anchor lines": -\e left, \e horizontalCenter, \e right, \e top, \e verticalCenter, \e baseline, and \e bottom. +\l {Item::anchors.left}{left}, \l {Item::anchors.horizontalCenter}{horizontalCenter}, +\l {Item::anchors.right}{right}, \l {Item::anchors.top}{top}, +\l {Item::anchors.verticalCenter}{verticalCenter}, \l {Item::anchors.baseline}{baseline}, +and \l {Item::anchors.bottom}{bottom}. \image edges_qml.png diff --git a/doc/src/declarative/basictypes.qdoc b/doc/src/declarative/basictypes.qdoc index 109e6d5..e327d4a 100644 --- a/doc/src/declarative/basictypes.qdoc +++ b/doc/src/declarative/basictypes.qdoc @@ -107,6 +107,9 @@ Text { text: "Hello world!" } \endqml + Strings have a \c length attribute that holds the number of + characters in the string. + \sa {QML Basic Types} */ |