mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 21:37:04 +08:00
update
This commit is contained in:
parent
f531f5b138
commit
7ba60ee570
@ -10,9 +10,10 @@ FluScrollablePage{
|
|||||||
title:"Acrylic"
|
title:"Acrylic"
|
||||||
|
|
||||||
RowLayout{
|
RowLayout{
|
||||||
|
spacing: 10
|
||||||
Layout.topMargin: 20
|
Layout.topMargin: 20
|
||||||
FluText{
|
FluText{
|
||||||
text:"tintColor->"
|
text:"tintColor:"
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
}
|
}
|
||||||
FluColorPicker{
|
FluColorPicker{
|
||||||
@ -20,8 +21,9 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
RowLayout{
|
RowLayout{
|
||||||
|
spacing: 10
|
||||||
FluText{
|
FluText{
|
||||||
text:"tintOpacity->"
|
text:"tintOpacity:"
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
}
|
}
|
||||||
FluSlider{
|
FluSlider{
|
||||||
@ -30,8 +32,9 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
RowLayout{
|
RowLayout{
|
||||||
|
spacing: 10
|
||||||
FluText{
|
FluText{
|
||||||
text:"blurRadius->"
|
text:"blurRadius:"
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
}
|
}
|
||||||
FluSlider{
|
FluSlider{
|
||||||
|
@ -10,12 +10,13 @@ FluItem {
|
|||||||
property real noiseOpacity : 0.066
|
property real noiseOpacity : 0.066
|
||||||
property alias target : effect_source.sourceItem
|
property alias target : effect_source.sourceItem
|
||||||
property int blurRadius: 32
|
property int blurRadius: 32
|
||||||
|
property rect targetRect : Qt.rect(control.x, control.y, control.width, control.height)
|
||||||
|
|
||||||
ShaderEffectSource {
|
ShaderEffectSource {
|
||||||
id: effect_source
|
id: effect_source
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: false
|
visible: false
|
||||||
sourceRect: Qt.rect(control.x, control.y, control.width, control.height)
|
sourceRect: control.targetRect
|
||||||
}
|
}
|
||||||
|
|
||||||
FastBlur {
|
FastBlur {
|
||||||
|
Loading…
Reference in New Issue
Block a user