Rich Text Examples#

Using the document-oriented rich text engine.

../_images/richtext-examples.png

Qt provides powerful document-oriented rich text engine that supports Unicode and right-to-left scripts. Documents can be manipulated using a cursor-based API, and their contents can be imported and exported as both HTML and in a custom XML format.

Order-Form-Example

The Order Form example shows how to generate rich text documents by combining a simple template with data input by the user in a dialog.

Syntax-Highlighter-Example

The Syntax Highlighter example shows how to perform simple syntax highlighting.