IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt Quick Transformation Types

Types for applying transformations to visual types.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+