OrientationHelper QML Type
The OrientationHelper automatically rotates its children following the orientation of the device. More...
Properties
- anchorToKeyboard : bool
- automaticOrientation : bool
- orientationAngle : int
- rotating : bool
- 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
The property holds if the OrientationHelper should automatically resize the contents when the input method appears
The default value is false.
Sets whether it will be automatically rotating when the device is.
The default value is true.
Sets whether the rotation transition is performed.
The default value is true.