Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Right-to-left User Interfaces: Layout Mirroring Example

Files:

- declarative/righttoleft/layoutmirroring/layoutmirroring.svg
- declarative/righttoleft/layoutmirroring/qml/layoutmirroring/layoutmirroring.qml
- declarative/righttoleft/layoutmirroring/main.cpp
- declarative/righttoleft/layoutmirroring/layoutmirroring.pro
- declarative/righttoleft/layoutmirroring/layoutmirroring.qmlproject

This example shows how to mirror the application layouts using LayoutMirroring attached property.

Click on the grey button shown at the bottom of the example to enable or disable the layout mirroring.

See also QML Right-to-left User Interfaces.