1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-23 03:02:30 +01:00
ScreenPlay/ScreenPlayUtil/qml/ModalBackgroundBlur.qml
Elias Steurer 844a4ab676 Remove all .qrc files . We now use qt_add_qml_module
Copy fonts manually now
Fix paths
2022-04-30 13:22:17 +02:00

28 lines
606 B
QML

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
}
}