summaryrefslogtreecommitdiffstats
path: root/examples/tutorials
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-09-13 13:41:55 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-09-13 13:41:55 (GMT)
commitf1244a099ecc806582ce8c2488552e21c85ac519 (patch)
tree0f5572ff5a2bafe79934e2ffdd20f80112514a72 /examples/tutorials
parent245653f469baa0227c0b07fd6a232629ed53e9ee (diff)
downloadQt-f1244a099ecc806582ce8c2488552e21c85ac519.zip
Qt-f1244a099ecc806582ce8c2488552e21c85ac519.tar.gz
Qt-f1244a099ecc806582ce8c2488552e21c85ac519.tar.bz2
Doc: Some editing and tidying up.
Diffstat (limited to 'examples/tutorials')
-rw-r--r--examples/tutorials/gettingStarted/gsQml/texteditor.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/tutorials/gettingStarted/gsQml/texteditor.qml b/examples/tutorials/gettingStarted/gsQml/texteditor.qml
index 3bd9d55..5a75e0b 100644
--- a/examples/tutorials/gettingStarted/gsQml/texteditor.qml
+++ b/examples/tutorials/gettingStarted/gsQml/texteditor.qml
@@ -100,6 +100,7 @@ Rectangle {
}
}
+//! [states]
states:[
State {
name: "DRAWER_OPEN"
@@ -116,7 +117,9 @@ Rectangle {
PropertyChanges { target: arrowIcon; rotation: 0 }
}
]
+//! [states]
+//! [transitions]
transitions: [
Transition {
to: "*"
@@ -125,4 +128,5 @@ Rectangle {
NumberAnimation { target: drawer; properties: "y"; duration: 100; easing.type: Easing.OutExpo }
}
]
+//! [transitions]
}