blob: c111e98e721659b99d03329a5a24571ca6382a9d (
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
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick 2.8
Item {
id: start
width: 480
height: 272
signal startClicked
signal settingsClicked
Flatbackground {
id: backgroundfull
anchors.fill: parent
}
Timedate {
id: start_timedateinstance
x: 425
y: 8
width: 47
height: 30
}
Image {
id: startButton
anchors.verticalCenter: parent.verticalCenter
source: "assets/drumcopy_temp.png"
anchors.horizontalCenter: parent.horizontalCenter
Text {
id: startlabel
width: 80
height: 37
color: "#B8B8B8"
text: "Start"
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 36
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
anchors.horizontalCenter: parent.horizontalCenter
font.family: "Maven Pro"
}
MouseArea {
id: startMA
anchors.fill: parent
Connections {
target: startMA
onClicked: startClicked()
}
}
}
}
|