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