admin管理员组

文章数量:1291144

I have a simple editor written around QTextEdit. I can copy rich text from a .odt file to the editor but when I copy data from said editor that is formatted (font family, size and color have been changed) and paste it to the .odt file, the formatting is ignored. Is there a similar setting to acceptRichText() when it comes to copying selected data to the clipboard?

本文标签: pythonPaste formatted data from QTextEdit to a odt fileStack Overflow