富文本範例

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.

日曆範例 The Calendar example shows how to create rich text content and display it using a rich text editor.
訂購錶單範例 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.
句法高亮器範例 The Syntax Highlighter example shows how to perform simple syntax highlighting.
文本編輯 The Text Edit example shows Qt's rich text editing facilities in action.