Qt Quick Transformation Types

Transformations are applied to child hierarchies and also will also transform mouse and touch input so coordinates in event handlers behave as expected.

Item Properties

The Item contains a number of convenience properties, covering the most common types of transformations.

  • x and y; Translates the item.
  • scale; Applies a uniform scale factor to the item.
  • rotation; Applies a counterclockwise rotation of the item.
  • transformOrigin; Used in conjunction with scale and rotation to change the origin of the transformation.

Transform List

In addition to the convenience types, it is possible to define more comprehensive transformations using a list of Scale, Rotation, and Translate objects to the transform property of the Item.

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