-
Notifications
You must be signed in to change notification settings - Fork 0
/
SideBarForm.ui.qml
59 lines (50 loc) · 1.31 KB
/
SideBarForm.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
53
54
55
56
57
58
59
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick 2.4
import QtQuick.Layouts 1.3
Flickable {
id: flickable
x: 0
y: 0
width: 354
height: 768
property alias macchiatoButton: macchiatoButton
property alias latteButton: latteButton
property alias espressoButton: espressoButton
property alias cappuccinoButton: cappuccinoButton
contentWidth: 250
boundsBehavior: Flickable.StopAtBounds
contentHeight: 1506
clip: true
Rectangle {
id: background
x: 0
width: 354
height: 1506
color: "#eec1a2"
}
ColumnLayout {
x: 52
y: 0
spacing: 64
CoffeeButton {
id: cappuccinoButton
text: "Cappuccino"
}
CoffeeButton {
id: espressoButton
text: "Espresso"
source: "images/icons/coffees/Espresso.png"
}
CoffeeButton {
id: latteButton
text: "Latte"
source: "images/icons/coffees/Latte.png"
}
CoffeeButton {
id: macchiatoButton
text: "Macchiato"
source: "images/icons/coffees/Macchiato.png"
}
}
}