ツールの例
Qt には、コンテナやイテレータ、文字列の処理や操作のためのクラスなど、さまざまなツールクラスが用意されています。
その他のクラスは、アプリケーションのインフラストラクチャをサポートし、プラグインのロードや設定ファイルの管理を行います。
Completer の例では、モデルによって提供されるデータに基づいて、入力ウィジェットに文字列補完機能を提供する方法を示します。 | |
Custom Completer の例では、モデルによって提供されるデータに基づいて、入力ウィジェットに文字列補完機能を提供する方法を示します。このコンプリターは、ユーザーによって入力された最初の 3 文字に基づいて、候補となる単語をポップアップ表示し、ユーザーが選択した単語が QTextCursor を使って TextEdit に挿入されます。 | |
QRegularExpression の例では、新しい正規表現を作成し、カスタムのテキスト文字列でテストできる環境を提供することで、Qt の正規表現がテキストにどのように適用されるかを示しています。 | |
この例では、ピリオドを区切り文字として使用して、Child、GrandChild、GrandGrandChild レベルのオブジェクトにアクセスします。 | |
この例では、Qt の undo フレームワークを使用して、undo/redo 機能を実装する方法を示します。 |
© 2025 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.