diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-03-08 10:50:11 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-22 02:50:37 +0100 |
commit | 793a01d28fb5f0b99b638332214b2267c2ca29db (patch) | |
tree | 853b1bbcdae1c19400dbb400c324caa0f210e4c0 /examples/quick/modelviews/listview/highlight.qml | |
parent | ee4202a5d35ad82bc957a0978dc50af00591a274 (diff) |
Update model view examples to common launcher format.
Change-Id: I8dc30a9ade3cbbfa91d51d85617975ad7d46ee15
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples/quick/modelviews/listview/highlight.qml')
-rw-r--r-- | examples/quick/modelviews/listview/highlight.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/modelviews/listview/highlight.qml b/examples/quick/modelviews/listview/highlight.qml index d8f76080e6..2dca1f4b18 100644 --- a/examples/quick/modelviews/listview/highlight.qml +++ b/examples/quick/modelviews/listview/highlight.qml @@ -69,6 +69,10 @@ Rectangle { transitions: Transition { NumberAnimation { properties: "x"; duration: 200 } } + MouseArea { + anchors.fill: parent + onClicked: wrapper.ListView.view.currentIndex = index + } } } |