-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPageTimerForm.ui.qml
87 lines (77 loc) · 1.95 KB
/
PageTimerForm.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import QtQuick 2.12
import QtQuick.Controls 2.5
import CustomControls 1.0
import QtQuick.Layouts 1.11
Page {
width: 1920
height: 1080
property alias timerList: timerList
property alias timer1: timer1
property alias timer2: timer2
property alias timer3: timer3
property alias timer4: timer4
property alias timer5: timer5
property alias timer6: timer6
property alias btnAdd: btnAdd
RowLayout {
id: timerList
anchors.topMargin: 20
spacing: 20
anchors.bottomMargin: 0
anchors.fill: parent
TimerLogic {
id: timer1
width: 326
height: 659
txtName.text: "Alarm 1"
Layout.preferredWidth: 600
}
TimerLogic {
id: timer2
width: 326
height: 659
visible: true
txtName.text: "Alarm 2"
Layout.preferredWidth: 600
}
TimerLogic {
id: timer3
width: 326
height: 659
visible: true
txtName.text: "Alarm 3"
Layout.preferredWidth: 600
}
TimerLogic {
id: timer4
width: 326
height: 659
visible: false
txtName.text: "Alarm 4"
Layout.preferredWidth: 600
}
TimerLogic {
id: timer5
width: 326
height: 659
visible: false
txtName.text: "Alarm 5"
Layout.preferredWidth: 600
}
TimerLogic {
id: timer6
width: 326
height: 659
visible: false
txtName.text: "Alarm 6"
Layout.preferredWidth: 600
}
RoundButton {
id: btnAdd
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
icon.source: "assets/timer/plus.png"
icon.width: 300
icon.height: 300
}
}
}