chris_helloworld
16th November 2010, 07:49
Hi,
I'm finding that when I copy text from a QTextEdit and paste into an email, (ms outlook), I'm loosing spaces and line feeds. I believe that this is becase the transfer is being done as html. (It works fine if the email format is plain text).
Is there any way to tell the QTextEdit to only put plain text into the mimedata and not html on copy ? Annoyingly, the QTextEdit::copy function is not virtual so I can't simply override it and write my own.
Chris.
I'm finding that when I copy text from a QTextEdit and paste into an email, (ms outlook), I'm loosing spaces and line feeds. I believe that this is becase the transfer is being done as html. (It works fine if the email format is plain text).
Is there any way to tell the QTextEdit to only put plain text into the mimedata and not html on copy ? Annoyingly, the QTextEdit::copy function is not virtual so I can't simply override it and write my own.
Chris.