-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDialKey.qml
More file actions
36 lines (32 loc) · 753 Bytes
/
DialKey.qml
File metadata and controls
36 lines (32 loc) · 753 Bytes
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
import QtQuick 2.12
Item {
id: root
width: 50
height: 50
property alias label: label
Rectangle {
anchors.fill: parent
gradient: Gradient {
GradientStop {
position: 0
color: "#ff0808ee"
}
GradientStop {
position: 1
color: "#ff000000"
}
}
radius: 25
border.color: "#0570d7"
Text {
id: label
anchors.centerIn: parent
anchors.fill: parent
text: "0"
color: "white"
font.pixelSize: 30
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
}
}