qml: expose image cache property from GridItem

This commit is contained in:
Prince Gupta 2024-03-11 16:08:50 +05:30 committed by Steve Lhomme
parent 3144941432
commit 41d61e8d10
2 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,7 @@ T.ItemDelegate {
// Aliases
property alias image: picture.source
property alias cacheImage: picture.cacheImage
property alias isImageReady: picture.isImageReady
property alias fallbackImage: picture.fallbackImageSource

View File

@ -42,8 +42,12 @@ Rectangle {
// Aliases
property alias source: image.source
property alias cacheImage: image.cache
property bool isImageReady: image.status == RoundImage.Ready
property string fallbackImageSource
property alias imageOverlay: overlay.sourceComponent