update
parent
308e2407c3
commit
87a1e4744c
|
@ -7,13 +7,14 @@ Item {
|
||||||
|
|
||||||
property alias color: rect.color
|
property alias color: rect.color
|
||||||
property alias acrylicOpacity: rect.opacity
|
property alias acrylicOpacity: rect.opacity
|
||||||
|
property int radius: 50
|
||||||
property var sourceItem: control.parent
|
property var sourceItem: control.parent
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: rect
|
id: rect
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: "white"
|
color: "white"
|
||||||
opacity: 0.05
|
opacity: 0.1
|
||||||
}
|
}
|
||||||
|
|
||||||
ShaderEffectSource {
|
ShaderEffectSource {
|
||||||
|
@ -24,7 +25,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
FastBlur {
|
FastBlur {
|
||||||
radius: 20
|
radius: control.radius
|
||||||
anchors.fill: effect_source
|
anchors.fill: effect_source
|
||||||
source: effect_source
|
source: effect_source
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue