aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/pointer/content
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-08-17 14:03:47 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2021-08-17 16:14:53 +0200
commit68171d9456d673ddaa9e68bbc2fbb4f3145dccf8 (patch)
tree09c0b499da74b491ea1df7a846e964af9aab3cae /tests/manual/pointer/content
parentca89437d00aeb8916738a964a62aef3cff7dc5ab (diff)
Stop using QtGraphicalEffects in fakeFlickable manual test
It's still MIA. Material style has its own implementation but we unfortunately aren't shipping any module with a reusable RectangularGlow. Pick-to: 6.1 6.2 Change-Id: Ie14188c517ff31217e25dc428b400659e3d0613f Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual/pointer/content')
-rw-r--r--tests/manual/pointer/content/LeftDrawer.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/manual/pointer/content/LeftDrawer.qml b/tests/manual/pointer/content/LeftDrawer.qml
index 6e93fd4933..7e43e5a2bd 100644
--- a/tests/manual/pointer/content/LeftDrawer.qml
+++ b/tests/manual/pointer/content/LeftDrawer.qml
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2019 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the manual tests of the Qt Toolkit.
@@ -25,9 +25,8 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-import QtQuick 2.14
-import Qt.labs.animation 1.0
-import QtGraphicalEffects 1.14
+import QtQuick
+import Qt.labs.animation
Item {
id: root
@@ -79,13 +78,14 @@ Item {
easing { type: Easing.OutBounce; overshoot: 5 }
}
- RectangularGlow {
+ // TODO this was supposed to be RectangularGlow but we lost QtGraphicalEffects in Qt 6
+ Rectangle {
id: effect
anchors.fill: parent
- glowRadius: dragHandler.margin
- spread: 0.2
- color: "cyan"
- cornerRadius: rect.radius + glowRadius
+ border.width: dragHandler.margin
+ border.color: "cyan"
+ opacity: 0.2
+ radius: rect.radius + dragHandler.margin
}
Rectangle {