2022-02-17 05:52:34 +00:00
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2021-2022 Devin Lin <devin@kde.org>
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
*/
|
|
|
|
|
|
2023-05-13 15:15:52 +00:00
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Effects
|
2022-02-17 05:52:34 +00:00
|
|
|
|
2023-05-13 15:15:52 +00:00
|
|
|
MultiEffect {
|
|
|
|
|
autoPaddingEnabled: false
|
|
|
|
|
blurEnabled: true
|
|
|
|
|
blurMax: 50
|
|
|
|
|
blur: 1.0
|
2022-02-17 05:52:34 +00:00
|
|
|
|
2023-05-13 15:15:52 +00:00
|
|
|
property bool shouldBlur
|
|
|
|
|
opacity: shouldBlur ? 1 : 0
|
2022-02-17 05:52:34 +00:00
|
|
|
|
2022-06-28 16:45:48 +00:00
|
|
|
Behavior on opacity {
|
2022-02-17 05:52:34 +00:00
|
|
|
NumberAnimation {
|
|
|
|
|
duration: 1000
|
|
|
|
|
easing.type: Easing.InOutQuad
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|