How do you serialize the content of QTextEdit (say there is a picture, formated text, bulleted and numbered content and so on)?
How do you serialize the content of QTextEdit (say there is a picture, formated text, bulleted and numbered content and so on)?
You can retrieve and save the HTML and referenced images. You could walk through the text blocks that form the document and do something with those directly (images are referenced indirectly by the name attribute of a QTextImageFormat object). AFAICT there is no one line serialisation.
Bookmarks