Create a component to see the choosed image for debugging purpose

This commit is contained in:
Angela Mazzurco 2017-07-12 16:48:26 +02:00
parent e58cd8f363
commit d9662d81e0

View File

@ -43,11 +43,21 @@ Item
onResultFileChanged: onResultFileChanged:
{ {
console.log("Result file changed! " , resultFile) console.log("Result file changed! " , resultFile)
newAvatar.source = resultFile
} }
} }
} }
Image
{
id: newAvatar
height: colorHash.height
width: colorHash.height
fillMode: Image.PreserveAspectFit
}
ColorHash ColorHash
{ {
id: colorHash id: colorHash