summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-28 03:23:00 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-28 03:23:00 (GMT)
commit486eb1ccb91e239bf4440ec62c221e8af1ffddcc (patch)
tree4fdbe830fa699320a3550143a6162e9b0d58f59f /examples/declarative
parentfc733f4573f1fe43e0cfe43734623d77f61a4614 (diff)
downloadQt-486eb1ccb91e239bf4440ec62c221e8af1ffddcc.zip
Qt-486eb1ccb91e239bf4440ec62c221e8af1ffddcc.tar.gz
Qt-486eb1ccb91e239bf4440ec62c221e8af1ffddcc.tar.bz2
Mode improvement to strictly enforced highlight range movement.
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/listview/listview.qml1
-rw-r--r--examples/declarative/parallax/ParallaxView.qml3
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/declarative/listview/listview.qml b/examples/declarative/listview/listview.qml
index b614904..92acce1 100644
--- a/examples/declarative/listview/listview.qml
+++ b/examples/declarative/listview/listview.qml
@@ -72,5 +72,6 @@ Rectangle {
preferredHighlightBegin: 125
preferredHighlightEnd: 125
highlightRangeMode: "StrictlyEnforceRange"
+ flickDeceleration: 1000
}
}
diff --git a/examples/declarative/parallax/ParallaxView.qml b/examples/declarative/parallax/ParallaxView.qml
index bad9b85..50ab72c 100644
--- a/examples/declarative/parallax/ParallaxView.qml
+++ b/examples/declarative/parallax/ParallaxView.qml
@@ -25,7 +25,8 @@ Item {
anchors.fill: parent
model: VisualItemModel { id: visualModel }
- highlight: Item { height: 1; width: 1}
+ highlight: Rectangle { height: 1; width: 1 }
+ highlightMoveSpeed: 2000
preferredHighlightBegin: 0
preferredHighlightEnd: 0
highlightRangeMode: "StrictlyEnforceRange"