How do you serialize the content of QTextEdit (say there is a picture, formated text, bulleted and numbered content and so on)?