summaryrefslogtreecommitdiff
path: root/examples/declarative/common
diff options
context:
space:
mode:
authorNatalia Shubina <natalia.shubina@nokia.com>2012-03-22 13:36:05 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-22 05:30:48 +0100
commita7ec1bf746961effc94809cbb37a4871001436b5 (patch)
tree2b08507c3ef2e58811bb6ad57e47fabb2c8b34cf /examples/declarative/common
parent8bb8eba018e1f5d69332d8a25d0fe42ad8a67221 (diff)
downloadqtlocation-a7ec1bf746961effc94809cbb37a4871001436b5.tar.gz
disable mouse hovered events
disable mouse hovered events for consistent behavior on desktop and device Change-Id: If8a943b4d461d5b16f63f27575fab0d931910dd4 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Diffstat (limited to 'examples/declarative/common')
-rw-r--r--examples/declarative/common/imports/QtLocation/examples/components/Button.qml2
-rw-r--r--examples/declarative/common/imports/QtLocation/examples/components/Fader.qml2
-rw-r--r--examples/declarative/common/imports/QtLocation/examples/components/IconButton.qml2
-rw-r--r--examples/declarative/common/imports/QtLocation/examples/components/Slider.qml2
-rw-r--r--examples/declarative/common/imports/QtLocation/examples/components/TitleBar.qml2
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/common/imports/QtLocation/examples/components/Button.qml b/examples/declarative/common/imports/QtLocation/examples/components/Button.qml
index f306ce15..b392fe79 100644
--- a/examples/declarative/common/imports/QtLocation/examples/components/Button.qml
+++ b/examples/declarative/common/imports/QtLocation/examples/components/Button.qml
@@ -74,7 +74,7 @@ Item {
MouseArea {
id: mouseRegion
anchors.fill: buttonImage
- hoverEnabled: true
+ hoverEnabled: false
onClicked: { container.clicked() }
}
Text {
diff --git a/examples/declarative/common/imports/QtLocation/examples/components/Fader.qml b/examples/declarative/common/imports/QtLocation/examples/components/Fader.qml
index bca6bc06..25f9a63d 100644
--- a/examples/declarative/common/imports/QtLocation/examples/components/Fader.qml
+++ b/examples/declarative/common/imports/QtLocation/examples/components/Fader.qml
@@ -48,7 +48,7 @@ Rectangle {
MouseArea {
id: mouseArea
anchors.fill: parent
- hoverEnabled: true
+ hoverEnabled: false
}
Component.onCompleted: {
diff --git a/examples/declarative/common/imports/QtLocation/examples/components/IconButton.qml b/examples/declarative/common/imports/QtLocation/examples/components/IconButton.qml
index 4462f17d..77db6808 100644
--- a/examples/declarative/common/imports/QtLocation/examples/components/IconButton.qml
+++ b/examples/declarative/common/imports/QtLocation/examples/components/IconButton.qml
@@ -60,7 +60,7 @@ Item {
MouseArea {
id: mouseRegion
- hoverEnabled: true
+ hoverEnabled: false
anchors.fill: parent
onClicked: root.clicked()
}
diff --git a/examples/declarative/common/imports/QtLocation/examples/components/Slider.qml b/examples/declarative/common/imports/QtLocation/examples/components/Slider.qml
index d7c34ba0..c3b8ae0b 100644
--- a/examples/declarative/common/imports/QtLocation/examples/components/Slider.qml
+++ b/examples/declarative/common/imports/QtLocation/examples/components/Slider.qml
@@ -114,7 +114,7 @@ Item {
MouseArea {
id: mouseRegion
- hoverEnabled: true
+ hoverEnabled: false
anchors.fill: parent; drag.target: parent
drag.axis: Drag.XAxis; drag.minimumX: 0; drag.maximumX: slider.length
onPositionChanged: { slider.value = (slider.maximum - slider.minimum) * handle.x / slider.length + slider.minimum; }
diff --git a/examples/declarative/common/imports/QtLocation/examples/components/TitleBar.qml b/examples/declarative/common/imports/QtLocation/examples/components/TitleBar.qml
index 3493e97e..c085acbf 100644
--- a/examples/declarative/common/imports/QtLocation/examples/components/TitleBar.qml
+++ b/examples/declarative/common/imports/QtLocation/examples/components/TitleBar.qml
@@ -57,7 +57,7 @@ Item {
source: "../../../../resources/quit.png"
MouseArea {
id: mouseRegion
- hoverEnabled: true
+ hoverEnabled: false
anchors.fill: parent
onClicked: { titleBar.clicked(); }
}