update
parent
8475ec7f03
commit
84e863f664
|
@ -7,6 +7,7 @@ Item {
|
||||||
|
|
||||||
property alias color: rect.color
|
property alias color: rect.color
|
||||||
property alias acrylicOpacity: rect.opacity
|
property alias acrylicOpacity: rect.opacity
|
||||||
|
property var sourceItem: control.parent
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: rect
|
id: rect
|
||||||
|
@ -18,7 +19,7 @@ Item {
|
||||||
ShaderEffectSource {
|
ShaderEffectSource {
|
||||||
id: effect_source
|
id: effect_source
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
sourceItem: control.parent
|
sourceItem: control.sourceItem
|
||||||
sourceRect: Qt.rect(control.x, control.y, control.width, control.height)
|
sourceRect: Qt.rect(control.x, control.y, control.width, control.height)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,9 @@ Item {
|
||||||
Row{
|
Row{
|
||||||
id: content
|
id: content
|
||||||
height: control.height
|
height: control.height
|
||||||
spacing: 25
|
spacing: 10
|
||||||
padding: 10
|
padding: 10
|
||||||
|
|
||||||
|
|
||||||
FluToggleButton{
|
FluToggleButton{
|
||||||
visible: control.pageCount>1
|
visible: control.pageCount>1
|
||||||
disabled: control.pageCurrent<=1
|
disabled: control.pageCurrent<=1
|
||||||
|
|
Loading…
Reference in New Issue