mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
bb700780ef
Move common qml stuff into ScreenPlayUtil
28 lines
588 B
QML
28 lines
588 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:/assets/images/noisy-texture-3.png"
|
|
fillMode: Image.Tile
|
|
}
|
|
}
|