diff options
author | Juha Vuolle <juha.vuolle@nokia.com> | 2011-12-21 18:49:38 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-22 04:56:42 +0100 |
commit | 778bf2126327431c06d8bd767d1e2254a6639bab (patch) | |
tree | 22d442ae78a36eab709428a08d8a37f15add190b /tests/applications | |
parent | 436c2ebcc6520c1797fa0f6632418615002b23be (diff) |
Add polygon item mouse area support.
Change-Id: I072de0f11105abecee16a4507bfb4411d63d754c
Reviewed-by: David Laing <david.laing@nokia.com>
Diffstat (limited to 'tests/applications')
-rw-r--r-- | tests/applications/declarative_map/map3d.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/applications/declarative_map/map3d.qml b/tests/applications/declarative_map/map3d.qml index 40f56be2..374d2d1f 100644 --- a/tests/applications/declarative_map/map3d.qml +++ b/tests/applications/declarative_map/map3d.qml @@ -334,8 +334,11 @@ Rectangle { MapMouseArea { id: mouseAreaOfMapPolygon anchors.fill: parent + hoverEnabled: true drag.target: parent onClicked: console.log('....[Polygon].... map mouse area of polygon clicked') + onEntered: parent.color = 'red' + onExited: parent.color = 'pink' } Column { spacing: 2 |