summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-03 00:01:13 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-03 00:04:03 (GMT)
commit17d0ed5af4922645a268b6550742fb521d459c8e (patch)
tree43f4077630bd896da88715dec894392c63ac666b /tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
parent35a211cd95e0d09ef0b547b57f01f0a9ff41da2f (diff)
downloadQt-17d0ed5af4922645a268b6550742fb521d459c8e.zip
Qt-17d0ed5af4922645a268b6550742fb521d459c8e.tar.gz
Qt-17d0ed5af4922645a268b6550742fb521d459c8e.tar.bz2
Disallow ids that start with uppercase letters and update docs and
examples accordingly. Task-number: QT-2786
Diffstat (limited to 'tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml')
-rw-r--r--tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml b/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
index e9aae61..cc15755 100644
--- a/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
+++ b/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
@@ -15,8 +15,8 @@ Rectangle {
ListElement { dayColor: "orange" }
}
- Flickable {
- id: Flick
+ flickable {
+ id: flick
height: parent.height-50
width: parent.width; viewportHeight: column.height
@@ -37,10 +37,10 @@ Rectangle {
}
Rectangle {
radius: 3
- x: Flick.width-8
+ x: flick.width-8
width: 8
- y: Flick.visibleArea.yPosition * Flick.height
- height: Flick.visibleArea.heightRatio * Flick.height
+ y: flick.visibleArea.yPosition * flick.height
+ height: flick.visibleArea.heightRatio * flick.height
}
// click to toggle interactive flag
@@ -51,7 +51,7 @@ Rectangle {
color: "red"
MouseRegion {
anchors.fill: parent
- onClicked: Flick.interactive = Flick.interactive ? false : true
+ onClicked: flick.interactive = flick.interactive ? false : true
}
}
@@ -64,7 +64,7 @@ Rectangle {
color: "green"
MouseRegion {
anchors.fill: parent
- onClicked: Flick.pressDelay = Flick.pressDelay > 0 ? 0 : 500
+ onClicked: flick.pressDelay = flick.pressDelay > 0 ? 0 : 500
}
}
@@ -77,12 +77,12 @@ Rectangle {
color: "yellow"
MouseRegion {
anchors.fill: parent
- onClicked: Flick.overShoot = Flick.overShoot > 0 ? 0 : 30
+ onClicked: flick.overShoot = flick.overShoot > 0 ? 0 : 30
}
}
Rectangle {
- width: Math.abs(Flick.verticalVelocity)/100
+ width: Math.abs(flick.verticalVelocity)/100
height: 50
x: 200
y: parent.height - 50