summaryrefslogtreecommitdiffstats
path: root/examples/declarative/modelviews/pathview
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-07-19 03:26:10 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-07-19 03:26:10 (GMT)
commit931222b7d665e101ada070afb51b82f9bb85db6d (patch)
treed361d1f2d1760ee0434729e2419a45e80af03a40 /examples/declarative/modelviews/pathview
parent19473443dbeff4a57cd6ec6572ca29c2e70d672c (diff)
downloadQt-931222b7d665e101ada070afb51b82f9bb85db6d.zip
Qt-931222b7d665e101ada070afb51b82f9bb85db6d.tar.gz
Qt-931222b7d665e101ada070afb51b82f9bb85db6d.tar.bz2
PathView doc clarification.
Diffstat (limited to 'examples/declarative/modelviews/pathview')
-rw-r--r--examples/declarative/modelviews/pathview/pathview-example.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/declarative/modelviews/pathview/pathview-example.qml b/examples/declarative/modelviews/pathview/pathview-example.qml
index 59a0acb..0a3b34c 100644
--- a/examples/declarative/modelviews/pathview/pathview-example.qml
+++ b/examples/declarative/modelviews/pathview/pathview-example.qml
@@ -57,10 +57,9 @@ Rectangle {
Component {
id: appDelegate
-
Item {
width: 100; height: 100
- scale: PathView.scale
+ scale: PathView.iconScale
Image {
id: myIcon
@@ -98,11 +97,11 @@ Rectangle {
path: Path {
startX: 10
startY: 50
- PathAttribute { name: "scale"; value: 0.5 }
+ PathAttribute { name: "iconScale"; value: 0.5 }
PathQuad { x: 200; y: 150; controlX: 50; controlY: 200 }
- PathAttribute { name: "scale"; value: 1.0 }
+ PathAttribute { name: "iconScale"; value: 1.0 }
PathQuad { x: 390; y: 50; controlX: 350; controlY: 200 }
- PathAttribute { name: "scale"; value: 0.5 }
+ PathAttribute { name: "iconScale"; value: 0.5 }
}
}
}