Hello
I want to display a text followed by an image on my popup dialog. I don't want to create a qml item for that. I'm told that html richtext textFormat allows to build such strings.
Any help on this will be very much appreciated.
Thanks
Mut
Hello
I want to display a text followed by an image on my popup dialog. I don't want to create a qml item for that. I'm told that html richtext textFormat allows to build such strings.
Any help on this will be very much appreciated.
Thanks
Mut
The img tag has a src attribute.
Pass the URL for the image file or resource.
If you only have the image data in memory, you can use a "data:" URI, see http://stackoverflow.com/questions/6...object-in-html
But usually just having a Text and Image element anchored together is way easier.
Cheers,
_
Bookmarks