Qt編程技巧 QTextBrowser顯示文件內容

QTextBrowser是一個文本顯示類,功能仍是很強大的html   下面的代碼簡單的實現了,QTextBrowser顯示文本code   QFile file("file.html"); if(!file.open(QFile::ReadOnly | QFile::Text)) qDebug() << "Can not open"; QTextStrea
相關文章
相關標籤/搜索