Qt provides a rich text engine that can format and display text, lists, tables, and images.* The heart of this text formatting engine is
QTextDocument—this class can hold a single piece of text, a line, or an entire multi-page document, and fully supports text formatting (e.g., bold, italic, color, subscript), right down to the level of individual characters.
* Qt’s rich text format is an in-memory data format that should not be confused with Microsoft’s
.rtf (rich text format) document interchange format, or with enriched text (RFC 1896) or with the
text/richtext MIME type (RFCs 1341 and ...