Qt Quick 変換タイプ

変換は子階層に適用され、マウスやタッチの入力も変換するので、イベントハンドラの座標は期待通りに動作します。

項目プロパティ

Item には多くの便利なプロパティがあり、最も一般的なトランスフォームの種類をカバーしています。

  • x yアイテムを変換します。
  • scaleアイテムに一様なスケールファクターを適用します。
  • rotationアイテムを反時計回りに回転します。
  • transformOriginscaleとrotationと組み合わせて、変換の原点を変更する。

変換リスト

便利な型に加えて、Itemtransform プロパティにScale,Rotation,Translate オブジェクトのリストを使用して、より包括的な変換を定義することができます。

© 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.