|
|
@ -33,9 +33,7 @@ Pane {
|
|
|
|
layer.enabled: control.enabled && control.Material.elevation > 0
|
|
|
|
layer.enabled: control.enabled && control.Material.elevation > 0
|
|
|
|
layer.effect: ElevationEffect {
|
|
|
|
layer.effect: ElevationEffect {
|
|
|
|
elevation: control.Material.elevation
|
|
|
|
elevation: control.Material.elevation
|
|
|
|
clip: true
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
clip: true
|
|
|
|
|
|
|
|
Image {
|
|
|
|
Image {
|
|
|
|
id: bgImage
|
|
|
|
id: bgImage
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.top: parent.top
|
|
|
@ -45,7 +43,6 @@ Pane {
|
|
|
|
source: bgImgSource ? bgImgSource : "qrc:/noise.png"
|
|
|
|
source: bgImgSource ? bgImgSource : "qrc:/noise.png"
|
|
|
|
fillMode: bgImgSource ? Image.PreserveAspectCrop : Image.Tile
|
|
|
|
fillMode: bgImgSource ? Image.PreserveAspectCrop : Image.Tile
|
|
|
|
opacity: bgImgOpacity < 0 ? 0.035 : bgImgOpacity
|
|
|
|
opacity: bgImgOpacity < 0 ? 0.035 : bgImgOpacity
|
|
|
|
clip: true
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|