Qt编程技巧 QTextBrowser显示文件内容

QTextBrowser是一个文本显示类,功能仍是很强大的html   下面的代码简单的实现了,QTextBrowser显示文本code   QFile file("file.html"); if(!file.open(QFile::ReadOnly | QFile::Text)) qDebug() << "Can not open"; QTextStrea
相关文章
相关标签/搜索