1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 08:22:33 +02:00
ScreenPlay/ScreenPlayUtil/qml/ModalBackgroundBlur.qml

28 lines
606 B
QML
Raw Normal View History

import QtQuick
import Qt5Compat.GraphicalEffects
FastBlur {
id: root
property Item sourceItem
property bool hideSource: true
source: ShaderEffectSource {
id: effectSource
sourceItem: root.sourceItem
live: false
hideSource: root.hideSource
}
radius: 64
transparentBorder: true
Rectangle {
anchors.fill: parent
opacity: 0.5
color: "black"
}
Image {
anchors.fill: parent
opacity: 0.1
source: "qrc:/qml/ScreenPlayApp/assets/images/noisy-texture-3.png"
fillMode: Image.Tile
}
}