summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/rotation.qml
blob: 01838ddbfed65819d2683008aba67952528db0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Rect {
    width: 360; height: 80
    color: "white"
//! [0]
    HorizontalLayout {
        margin: 10
        spacing: 10
        Image { source: "pics/qt.png" }
        Image {
            source: "pics/qt.png"
            transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 18 }
        }
        Image {
            source: "pics/qt.png"
            transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 36 }
        }
        Image {
            source: "pics/qt.png"
            transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 54 }
        }
        Image {
            source: "pics/qt.png"
            transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 72 }
        }
    }
//! [0]
}