blob: 25782c9a5221561142c504dc5269dcdcfb5c5c04 (
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
|
import QtQuick
Item {
width: 300
height: 300
visible: true
palette.active.base: "blue"
palette.inactive.base: "red"
palette.disabled.base: "gray"
Rectangle {
id: background
objectName: "background"
anchors.centerIn: parent
width: parent.width / 2
height: parent.height / 2
color: palette.base
Rectangle {
id: foreground
objectName: "foreground"
anchors.centerIn: parent
width: parent.width / 2
height: parent.height / 2
color: palette.base
border.color: "black"
}
}
}
|