Newer
Older
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
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
import QtQuick 2.4
import QtQuick.Controls 2.0
<<<<<<< HEAD
import "qrc:/widgets"
=======
>>>>>>> develop
import "../../"
DapAbstractTopPanel
{
<<<<<<< HEAD
anchors.fill: parent
=======
property alias testButton: button
Button
{
id: button
anchors.fill: parent
text: "Press"
}
>>>>>>> develop
// Static text "Wallet"
Label
{
id:textHeaderWallet
text: qsTr("Wallet")
anchors.left: parent.left
anchors.leftMargin: 24 * pt
anchors.verticalCenter: parent.verticalCenter
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pixelSize: 12 * pt
color: "#ACAAB5"
}
// Wallet selection combo box
Rectangle
{
id: frameComboBox
anchors.left: textHeaderWallet.right
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: 30 * pt
width: 148 * pt
color: "transparent"
DapComboBox
{
id: comboboxWallet
model: ListModel{
id:сonversionList
ListElement{text:"all wallets"}
ListElement{text:"Money for children"}
ListElement{text:"Money for education"}
ListElement{text:"Money for medicine"}
}
indicatorImageNormal: "qrc:/res/icons/ic_arrow_drop_down.png"
indicatorImageActive: "qrc:/res/icons/ic_arrow_drop_up.png"
sidePaddingNormal:0 * pt
sidePaddingActive:16 * pt
topIndentActive:10 * pt
normalColorText:"#070023"
hilightColorText:"#FFFFFF"
normalColorTopText:"#FFFFFF"
hilightColorTopText:"#070023"
hilightColor: "#330F54"
normalTopColor: "#070023"
fontSizeComboBox: 14*px
widthPopupComboBoxNormal:148 * pt
widthPopupComboBoxActive:180 * pt
heightComboBoxNormal:24 * pt
heightComboBoxActive:44 * pt
bottomIntervalListElement:8 * pt
topEffect:false
x: popup.visible ? sidePaddingActive * (-1) : sidePaddingNormal
}
}
// Static wallet balance text "Wallet balance"
Label
{
id: headerWalletBalance
text: qsTr("Wallet balance")
anchors.left: frameComboBox.right
anchors.leftMargin: 70 * pt
anchors.verticalCenter: parent.verticalCenter
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pixelSize: 12 * pt
color: "#ACAAB5"
}
// Dynamic wallet balance text
Label
{
id: textWalletBalance
text: "$ 3 050 745.3453289 USD"
anchors.left: headerWalletBalance.right
anchors.leftMargin: 18 * pt
anchors.verticalCenter: parent.verticalCenter
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pixelSize: 16 * pt
color: "#FFFFFF"
}
// Wallet create button
DapButton
{
id: addWalletButton
textButton: "New wallet"
anchors.right: parent.right
anchors.rightMargin: 24 * pt
anchors.verticalCenter: parent.verticalCenter
normalImageButton: "qrc:/res/icons/new-wallet_icon_dark.png"
hoverImageButton: "qrc:/res/icons/new-wallet_icon_dark_hover.png"
heightButton: 24 * pt
widthButton: 120 * pt
widthImageButton: 28 * pt
heightImageButton: 28 * pt
indentImageLeftButton: 10 * pt
colorBackgroundNormal:"#070023"
colorBackgroundHover: "#D51F5D"
colorButtonTextNormal: "#FFFFFF"
colorButtonTextHover: "#FFFFFF"
indentTextRight: 20 * pt
fontSizeButton: 14 * pt
existenceImage:true
borderColorButton: "#000000"
borderWidthButton: 0
}
}