mirror of https://github.com/qt/qt5compat.git
26 lines
592 B
QML
26 lines
592 B
QML
// Copyright (C) 2022 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
|
|
|
import QtQuick
|
|
import Qt5Compat.GraphicalEffects
|
|
|
|
Item {
|
|
RadialGradient {
|
|
id: gradient
|
|
visible: false
|
|
anchors.fill: parent
|
|
gradient: Gradient {
|
|
GradientStop { position: 0.0; color: Qt.rgba(1, 1, 1, 1) }
|
|
GradientStop { position: 1.0; color: Qt.rgba(1, 1, 1, 0) }
|
|
}
|
|
}
|
|
|
|
MaskedBlur {
|
|
anchors.fill: parent
|
|
source: bug
|
|
maskSource: gradient
|
|
radius: 8
|
|
samples: 16
|
|
}
|
|
}
|