How to insert image in QTextEdit with smart text wrap?
I want to insert image in QTextEdit like this:
QTextDocument::addResource, inserting as html or QTextImageFormat leave empty space between lines:
I tried to implement paintEvent() in QTextEdit with QTextLayout with correct text wrap and draw images manually, but QTextEdit became uneditable.
How can I implement this task?