1

i'm having QTextEdit widget with large content in it (content is XML). i want to take the content and set it into a QDomDocument, so i take the content using

document = textEdit->document();

but i dont know how to take it from here into a QDomDocument... what's the best way to do it ?

4

1 回答 1

1

QTextEdit::toPlainText 和 QDomDocument::setContent 有什么问题吗?

于 2010-05-30T12:41:48.797 回答