Hello.
I insert image to QTextEdit:
where url is unique name and img contain image.Qt Code:
QTextImageFormat imageFormat; imageFormat.setName(url); ui.textEdit->textCursor().insertImage(imageFormat);To copy to clipboard, switch view to plain text mode
How can I dynamically remove this resource after the user delete image(by normal editing document, eg. by 'Backspace' key)?
Bookmarks