shift-shell/lookandfeel/contents/lockscreen/WallpaperBlur.qml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
429 B
QML
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2021-2022 Devin Lin <devin@kde.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.12
2023-03-03 05:48:24 +00:00
import Qt5Compat.GraphicalEffects
FastBlur {
id: fastBlur
cached: true
radius: 50
property bool blur
2022-06-28 16:45:48 +00:00
opacity: blur ? 1 : 0
2022-06-28 16:45:48 +00:00
Behavior on opacity {
NumberAnimation {
duration: 1000
easing.type: Easing.InOutQuad
}
}
}