View Full Version : Serialization of QTextEdit
naghekyan
14th August 2010, 13:48
How do you serialize the content of QTextEdit (say there is a picture, formated text, bulleted and numbered content and so on)?
ChrisW67
16th August 2010, 06:02
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.