blob: 4b9b67cdc7807a2dca0507de050525bd5a4961eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
import QtQuick 2.0
Item {
id: root
default property alias content: stack.children
property alias maskBlurRadius: maskedBlur.radius
property alias maskBlurSamples: maskedBlur.samples
Row {
visible: true
id: stack
}
Item {
id: mask
width: stack.width
height: stack.height
visible: false
}
ShaderEffectSource {
id: maskedBlur
anchors.fill: stack
sourceItem: stack
property real radius: 0
property real samples: 0
}
}
|