Newer
Older
import QtQuick 2.4
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import "qrc:/widgets"
import "../../../"
DapAbstractRightPanel
{
/// @param dapButtonSend Send button.
property alias dapButtonSend: buttonSend
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
dapHeaderData:
Row
{
anchors.fill: parent
anchors.leftMargin: 16 * pt
anchors.rightMargin: 16 * pt
anchors.topMargin: 12 * pt
anchors.bottomMargin: 12 * pt
spacing: 12 * pt
Item
{
id: itemButtonClose
data: dapButtonClose
height: dapButtonClose.height
width: dapButtonClose.width
}
Text
{
id: textHeader
text: qsTr("New payment")
font.pixelSize: 14 * pt
color: "#3E3853"
}
}
dapContentItemData:
Rectangle
{
anchors.fill: parent
anchors.leftMargin: 16 * pt
anchors.rightMargin: 16 * pt
color: "transparent"
Rectangle
{
id: rectangleTop
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
height: 156 * pt
color: "transparent"
}
Text
{
id: textMessage
text: qsTr("Placed to mempool")
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: rectangleTop.bottom
anchors.topMargin: 24 * pt
color: "#070023"
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pointSize: 28 * pt
}
Rectangle
{
id: rectangleCenter
height: 48 * pt
anchors.top: textMessage.bottom
anchors.left: parent.left
anchors.right: parent.right
color: "transparent"
}
Text
{
id: textStatus
text: qsTr("Status")
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: rectangleCenter.bottom
color: "#757184"
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pointSize: 22 * pt
}
Text
{
id: textStatusMessage
text: qsTr("Pending")
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: textStatus.bottom
anchors.topMargin: 8 * pt
color: "#070023"
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pointSize: 28 * pt
}
Rectangle
{
id: rectangleTopButton
height: 64 * pt
anchors.top: textStatusMessage.bottom
anchors.topMargin: 24 * pt
anchors.left: parent.left
anchors.right: parent.right
color: "transparent"
}
// Button "Send"
DapButton
{
id: buttonSend
height: 44 * pt
width: 130 * pt
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: rectangleTopButton.bottom
anchors.topMargin: 24 * pt
textButton: qsTr("Send")
colorBackgroundHover: "#D51F5D"
colorBackgroundNormal: "#070023"
colorButtonTextNormal: "#FFFFFF"
horizontalAligmentText: Text.AlignHCenter
indentTextRight: 0
fontButton.pixelSize: 18 * pt
}
Rectangle
{
id: rectangleBottomButton
height: 190 * pt
anchors.top: buttonSend.bottom
anchors.topMargin: 24 * pt
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
color: "transparent"
}
}
}