aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-08-17 14:03:47 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-17 19:04:40 +0000
commit939ab4edf010f59b3b498d16bbec8b71ddab3d77 (patch)
treee6b3039d3cb318ed31c3d82745911f4c41d4a4c6 /tests
parent4d391ad2968efccf0ec5f2840126f051b40a89f9 (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. Change-Id: Ie14188c517ff31217e25dc428b400659e3d0613f Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 68171d9456d673ddaa9e68bbc2fbb4f3145dccf8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-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 {