summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-13 00:30:24 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-13 04:49:31 (GMT)
commit24163ea3fee49649ce0ef44bd7b25de78c618e27 (patch)
tree791a801e96b3d4d06f5b836153b129ac9df357be
parent573a5f2a0b07d094c7fdf1c1a1bddb4261f2ede6 (diff)
downloadQt-24163ea3fee49649ce0ef44bd7b25de78c618e27.zip
Qt-24163ea3fee49649ce0ef44bd7b25de78c618e27.tar.gz
Qt-24163ea3fee49649ce0ef44bd7b25de78c618e27.tar.bz2
Doc improvements
-rw-r--r--doc/src/declarative/advtutorial.qdoc3
-rw-r--r--examples/declarative/tutorials/samegame/samegame1/samegame.qml2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/declarative/advtutorial.qdoc b/doc/src/declarative/advtutorial.qdoc
index 4807fd2..3a70eee 100644
--- a/doc/src/declarative/advtutorial.qdoc
+++ b/doc/src/declarative/advtutorial.qdoc
@@ -101,6 +101,9 @@ One item you may not recognize here
is the \l SystemPalette item. This provides access to the Qt system palette
and is used to give the button a more native look-and-feel.
+Notice the anchors for the \c Item, \c Button and \c Text elements are set using
+\l {Grouped Properties}{group notation} for readability.
+
\section2 Adding \c Button and \c Block components
The \c Button item in the code above is defined in a separate file named \c Button.qml.
diff --git a/examples/declarative/tutorials/samegame/samegame1/samegame.qml b/examples/declarative/tutorials/samegame/samegame1/samegame.qml
index eec77ae..b6e01fd 100644
--- a/examples/declarative/tutorials/samegame/samegame1/samegame.qml
+++ b/examples/declarative/tutorials/samegame/samegame1/samegame.qml
@@ -29,7 +29,7 @@ Rectangle {
Button {
anchors { left: parent.left; leftMargin: 3; verticalCenter: parent.verticalCenter }
text: "New Game"
- onClicked: console.log("Starting a new game...")
+ onClicked: console.log("This doesn't do anything yet...")
}
Text {