リッチテキストの例

Qt は、Unicode および右から左への文字体系をサポートする、強力なドキュメント指向のリッチテキストエンジンを提供しています。ドキュメントはカーソルベースの API を使用して操作でき、その内容は HTML 形式およびカスタム XML 形式の両方でインポートおよびエクスポートできます。
「Order Form」サンプルでは、シンプルなテンプレートと、ダイアログでユーザーが入力したデータを組み合わせて、リッチテキスト文書を生成する方法を示しています。 | |
「構文ハイライト」サンプルでは、簡単な構文ハイライトの実装方法を示しています。 |
© 2026 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.