1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01: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
}
}