using multieffect from qt 6 instead of fastblur

This commit is contained in:
Chris Cochrun 2025-07-29 06:24:33 -05:00
parent 90a34141b3
commit de80d304bf

View file

@ -1,4 +1,5 @@
import QtQuick 2.13
import QtQuick.Effects
import QtQuick.Controls 2.12 as Controls
/* import QtQuick.Window 2.15 */
import QtQuick.Layouts 1.15
@ -21,17 +22,16 @@ Item {
id: bg
color: Kirigami.Theme.backgroundColor
anchors.fill: parent
opacity: 0.90
}
FastBlur {
MultiEffect {
id: backgroundBlur
source: ShaderEffectSource {
sourceItem: bg
sourceRect: Qt.rect(0, 0, backgroundBlur.width, backgroundBlur.height)
}
anchors.fill: parent
radius: 82
opacity: 0.60
source: bg
anchors.fill: bg
blur: 1.0
blurMultiplier: 20
blurEnabled: true
}
ColumnLayout {