Qt Quick テンプレート2
Qt Quick テンプレートは Qt Quick Controls.テンプレートは、コントロールのロジックや振る舞いを視覚化しない形で実装したものです。QMLでコントロールを視覚化するためのインターフェイスを提供します。 Qt Quick.
テンプレートは可能な限りスタイルにとらわれないことを目的としていますが、場合によってはコントロールの視覚的な構造について特定の仮定をしなければならないことがあります。例えば、スピンボックスにはスピンボックスの値を増減するボタンがあります。スピンボックスのビヘイビアを実装するために、スピンボックステンプレートはユーザーがupボタンとdownボタンのどちらを操作しているかを知る必要があります。スピンボックステンプレートの視覚的な実装は、単に上下ボタンを配置し、通常、押された、および無効の状態でそれらを視覚化する必要があります。入力イベントの処理と状態の処理は、基礎となるテンプレートが行います。
モジュールの進化
Qt Quick Controls の変更点には、Qt 6 シリーズの Qt で行われた、モジュール API と機能の重要な変更が記載されています。
関連情報
© 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.