Qt 6.11 is out! See what's new in the release
blog
TextEdit and displaying of images inside of it
-
Hi friends! I'm trying to display images inside of
TextEditlike this:TextEdit { id: text; anchors{ left: parent.left; right: parent.right; bottom: parent.bottom; } textFormat: TextEdit.RichText; text: "<img width=\"20\" height=\"20\" src=\"http://vk.com/images/emoji/D83DDE0E.png\">"; wrapMode: Text.WordWrap; }and it works good except of "Copy/Paste" functionality. i.e. when i copy a content of
TextEditand paste it outside of my application - only text is copied. And i want to bind image to some text. Is it possible to implement it? -
Hi friends! I'm trying to display images inside of
TextEditlike this:TextEdit { id: text; anchors{ left: parent.left; right: parent.right; bottom: parent.bottom; } textFormat: TextEdit.RichText; text: "<img width=\"20\" height=\"20\" src=\"http://vk.com/images/emoji/D83DDE0E.png\">"; wrapMode: Text.WordWrap; }and it works good except of "Copy/Paste" functionality. i.e. when i copy a content of
TextEditand paste it outside of my application - only text is copied. And i want to bind image to some text. Is it possible to implement it?