blob: 2a3917d992dac585fa47c59e9856ba8502895ec1 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
Rectangle {
width: 400; height: 200
color: "white"
Grid {
anchors.centerIn: parent
columns: 4; rows: 2; spacing: 10
Rectangle {
color: "steelblue"; width: 80; height: 80
rotation: 10
}
Rectangle {
color: "#F0A080"; width: 80; height: 80
border.color: "gray"; rotation: 10
}
Rectangle {
color: "steelblue"; width: 80; height: 80
radius: 10; rotation: 10
}
Rectangle {
color: "#F0A080"; width: 80; height: 80
radius: 10; border.color: "gray"
rotation: 10
}
Rectangle {
color: "steelblue"; width: 80; height: 80
rotation: 10; smooth: true
}
Rectangle {
color: "#F0A080"; width: 80; height: 80
border.color: "gray"; rotation: 10; smooth: true
}
Rectangle {
color: "steelblue"; width: 80; height: 80
radius: 10; rotation: 10; smooth: true
}
Rectangle {
color: "#F0A080"; width: 80; height: 80
radius: 10; border.color: "gray"
rotation: 10; smooth: true
}
}
}
|