PDA

View Full Version : QTextEdit save as RichText width Images



kea_
8th August 2010, 08:51
Hello together,
I have a QTextEdit where I can put in images via copy/paste.
Now I like to save the data in the QTextEdit width the images (it would be nice as RichText).
Does anybody know how to do that. With toPlainText der is just a ? mark and with toHtml there is <src='name'>. It must be possible to save that otherwise it doesn't make sense to add Images.

Greetings and thanks a lot for your help.
kea_

tbscope
8th August 2010, 09:21
Print as PDF

kea_
9th August 2010, 07:53
Thank you for your answer.
The saving as pdf works. And I have seen the saving as odf.
I like to write the data into a database. But I don't like to generate a file, read it and write it to database. Is there an other possibility?

Thank you very much.
kea_