blob: a8bfa45d1b3ed085693306f85997be49033e7936 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import QtQuick 2.0
import MyModule 1.0
Rectangle {
width: 480
height: 480
gradient: Gradient {
GradientStop { position: 0.0; color: "#00249a" }
GradientStop { position: 0.7; color: "#ffd94f" }
GradientStop { position: 1.0; color: "#ffa322" }
}
MyPaintItem {
anchors.fill: parent
anchors.margins: 10
smooth: true
}
}
|