2022-06-22 11:37:38 +00:00
|
|
|
// Copyright (C) 2022 The Qt Company Ltd.
|
2024-02-27 07:45:43 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
2021-11-26 07:41:51 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|