Rich Text Examples¶
Using the document-oriented rich text engine.
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.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.