How can I save a QTextEdit's text and preserve it's current formating?