aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/pointer/content
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/pointer/content')
-rw-r--r--tests/manual/pointer/content/MultiButton.qml4
-rw-r--r--tests/manual/pointer/content/Slider.qml4
-rw-r--r--tests/manual/pointer/content/TapHandlerButton.qml2
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual/pointer/content/MultiButton.qml b/tests/manual/pointer/content/MultiButton.qml
index 4a737dc9b0..fec8462ea0 100644
--- a/tests/manual/pointer/content/MultiButton.qml
+++ b/tests/manual/pointer/content/MultiButton.qml
@@ -44,7 +44,7 @@ import Qt.labs.handlers 1.0
Rectangle {
id: root
property alias label: label.text
- property alias pressed: tap.isPressed
+ property alias pressed: tap.pressed
property bool checked: false
property alias gesturePolicy: tap.gesturePolicy
signal tapped
@@ -53,7 +53,7 @@ Rectangle {
border.color: "#9f9d9a"; border.width: 1; radius: height / 4; antialiasing: true
gradient: Gradient {
- GradientStop { position: 0.0; color: tap.isPressed ? "#b8b5b2" : "#efebe7" }
+ GradientStop { position: 0.0; color: tap.pressed ? "#b8b5b2" : "#efebe7" }
GradientStop { position: 1.0; color: "#b8b5b2" }
}
diff --git a/tests/manual/pointer/content/Slider.qml b/tests/manual/pointer/content/Slider.qml
index 809e4c5f1c..d38805023a 100644
--- a/tests/manual/pointer/content/Slider.qml
+++ b/tests/manual/pointer/content/Slider.qml
@@ -47,7 +47,7 @@ Item {
property int maximumValue: 99
property alias label: label.text
property alias tapEnabled: tap.enabled
- property alias pressed: tap.isPressed
+ property alias pressed: tap.pressed
signal tapped
DragHandler {
@@ -82,7 +82,7 @@ Item {
anchors.horizontalCenterOffset: 1
radius: 5
color: "#4400FFFF"
- opacity: tap.isPressed || tapFlash.running ? 1 : 0
+ opacity: tap.pressed || tapFlash.running ? 1 : 0
FlashAnimation on visible {
id: tapFlash
}
diff --git a/tests/manual/pointer/content/TapHandlerButton.qml b/tests/manual/pointer/content/TapHandlerButton.qml
index e40c539686..6724ea896d 100644
--- a/tests/manual/pointer/content/TapHandlerButton.qml
+++ b/tests/manual/pointer/content/TapHandlerButton.qml
@@ -48,7 +48,7 @@ Item {
property alias text: buttonLabel.text
property alias label: buttonLabel
signal clicked
- property alias pressed: th.isPressed
+ property alias pressed: th.pressed
implicitHeight: Math.max(Screen.pixelDensity * 7, buttonLabel.implicitHeight * 1.2)
implicitWidth: Math.max(Screen.pixelDensity * 11, buttonLabel.implicitWidth * 1.3)
height: implicitHeight