blob: 767184de3627626986cb8140b93ee3d74622c852 (
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
51
52
53
54
55
56
57
58
59
|
import QtQuick 2.0
import "../Components"
FocusScope {
anchors.fill: parent
property alias header: header.text
property alias artwork: artwork.source
property alias title: title.text
property alias artist: artist.text
Text {
id: title
text: ""
color: "#ffffff"
anchors.top: source_select.bottom
anchors.topMargin: 20
font.pixelSize: 28
anchors.left: parent.left
anchors.leftMargin: 20
}
Text {
id: artist
text: ""
color: "#ffffff"
anchors.top: title.bottom
anchors.topMargin: 10
font.pixelSize: 18
anchors.left: title.left
}
Text {
id: header
font.pixelSize: 24
color: "#ffffff"
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: parent.height / 20 + 60
}
Button {
id: source_select
text: "Select source"
x: 20
y: 75
onPress: section.state = 'menu'
}
Image {
id: artwork
anchors.right: parent.right
anchors.rightMargin: 40
anchors.top: parent.top
width: 230
height: 230
anchors.topMargin: 140
source: ""
}
}
|