-
Notifications
You must be signed in to change notification settings - Fork 0
/
EmptyCupForm.ui.qml
52 lines (45 loc) · 1.32 KB
/
EmptyCupForm.ui.qml
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
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
import Coffee
Item {
id: root
width: Constants.width
height: Constants.height
property alias continueButton: continueButton
state: "initial state"
Rectangle {
id: rectangle
color: Constants.backgroundColor
anchors.fill: parent
Image {
id: image
x: 284
y: 174
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
source: "images/cup structure/coffee_cup_outline.png"
}
}
Text {
id: brewLabel
x: 84
y: 26
color: "#ffffff"
text: qsTr("Please insert cup into tray")
anchors.horizontalCenter: parent.horizontalCenter
font.family: Constants.fontFamily
wrapMode: Text.WrapAnywhere
font.pixelSize: 64
font.capitalization: Font.AllUppercase
}
NavigationButton {
id: continueButton
x: 324
y: 650
text: "Continue"
anchors.bottomMargin: Constants.defaultMargin
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
}
}