The QTextBrowser class provides a rich text browser with hypertext navigation.
void setSource(const QUrl &name, QTextDocument::ResourceType type=QTextDocument::UnknownResource)
Attempts to load the document at the given url with the specified type.
void setDefaultStyleSheet(const QString &sheet)
QTextDocument * document
the underlying document of the text editor.