OrientationHelper
The OrientationHelper automatically rotates its children following the orientation of the device. More...
Inherited by PopupBase.
Properties
- __orientationAngle : int
- automaticOrientation : bool
- orientationAngle : int
- rotating : alias
- transitionEnabled : bool
Detailed Description
Any Item placed inside an Orientation Helper will be automatically rotated following the orientation of the device.
Note that OrientationHelper is always filling its parent (anchors.parent: fill).
Example:
Item { OrientationHelper { Label { text: "Automatically rotated" } Button { text: "Automatically rotated" } } }
Property Documentation
This documentation is deprecated.
Use orientationAngle instead.
This documentation is under development and is subject to change.
Sets whether it will be automatically rotating when the device is.
The default value is true.
This documentation is under development and is subject to change.
Exposes whether the orientationTransition is running.
This documentation is under development and is subject to change.
Sets whether the rotation transition is performed.
The default value is true.