9. Creating Rich Text Editors
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 ...
Get Advanced Qt Programming: Creating Great Software with C++ and Qt 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.