Skip to content
Snippets Groups Projects
Commit c5323154 authored by littletux89@gmail.com's avatar littletux89@gmail.com
Browse files

[+] Added screen display wallets.

parent 47da757f
No related branches found
No related tags found
No related merge requests found
......@@ -127,9 +127,9 @@ Page {
Image
{
id: imageMenu
source: "qrc:/Resources/Icons/home.png"
height: 36
width: 36
source: "qrc:/Resources/Icons/exit.png"
height: 32
width: 32
anchors.horizontalCenter: parent.horizontalCenter
}
Text
......@@ -139,12 +139,19 @@ Page {
anchors.horizontalCenter: parent.horizontalCenter
}
}
MouseArea {
anchors.fill: parent
onClicked:
onHoveredChanged:
{
rectangleBorder.color = "#EE5321"
}
onClicked:
{
Qt.quit()
}
}
}
}
......
......@@ -5,10 +5,110 @@ Page {
id: dapUiQmlWidgetChainWallet
title: qsTr("Wallet")
Text {
id: name
anchors.centerIn: parent
text: qsTr("Wallet")
ListView {
id: listViewWallet
anchors.fill: parent
anchors.margins: 10
spacing: 10
delegate: Item {
width: parent.width
height: 150
Rectangle {
id: rectangleWallet
anchors.fill: parent
color: "lightgray"
opacity: 0.5
radius: 5
border.color: "gray"
clip: true
Rectangle
{
id: iconWallet
height: 140
width: 140
border.color: "gray"
anchors.left: parent.left
anchors.leftMargin: 5
anchors.verticalCenter: parent.verticalCenter
radius: 3.5
Image
{
anchors.fill: parent
source: "qrc:/Resources/Icons/add.png"
}
}
Column
{
anchors.verticalCenter: parent.verticalCenter
anchors.left: iconWallet.right
anchors.leftMargin: 10
anchors.right: parent.right
anchors.rightMargin: 10
spacing: 5
Text {
id: nameWallet
text: name
bottomPadding: 15
font.bold: true
font.pixelSize: 20
}
Text {
id: lableAddress
text: "Address:"
font.pixelSize: 18
color: "gray"
}
TextEdit {
id: addressWallet
text: address
width: parent.width
font.pixelSize: 16
wrapMode: Text.Wrap
selectByMouse: true
// clip: true
// elide: Text.ElideRight
}
}
}
}
model: ListModel {
ListElement {
name: "mywallet"
address: "RpiDC8c1SxrTNbxwSTVP6mAHhXvUAgCthoCfpVmUSm889M3zt5JfBxo6iRoAPmJkCPihSWNxhRtdTxnd7LXwcj1nbVd5NQyW1kCgXyM6"
}
ListElement {
name: "mywallet"
address: "RpiDC8c1SxrTNbxwSTVP6mAHhXvUAgCthoCfpVmUSm889M3zt5JfBxo6iRoAPmJkCPihSWNxhRtdTxnd7LXwcj1nbVd5NQyW1kCgXyM6"
}
ListElement {
name: "mywallet"
address: "RpiDC8c1SxrTNbxwSTVP6mAHhXvUAgCthoCfpVmUSm889M3zt5JfBxo6iRoAPmJkCPihSWNxhRtdTxnd7LXwcj1nbVd5NQyW1kCgXyM6"
}
ListElement {
name: "mywallet"
address: "RpiDC8c1SxrTNbxwSTVP6mAHhXvUAgCthoCfpVmUSm889M3zt5JfBxo6iRoAPmJkCPihSWNxhRtdTxnd7LXwcj1nbVd5NQyW1kCgXyM6"
}
}
}
RoundButton {
text: qsTr("+")
highlighted: true
anchors.margins: 10
anchors.right: parent.right
anchors.bottom: parent.bottom
}
}
KelvinDashboardGUI/Resources/Icons/exit.png

2.87 KiB

......@@ -106,7 +106,7 @@ ApplicationWindow {
scale: 0.7
visible: false
anchors.verticalCenter: parent.verticalCenter
anchors.right: imageDollars.left
anchors.right: parent.left
}
Image {
......@@ -115,27 +115,7 @@ ApplicationWindow {
scale: 0.7
visible: true
anchors.verticalCenter: parent.verticalCenter
anchors.right: imageDollars.left
}
Image {
id: imageDollars
source: "qrc:/Resources/Icons/dollar.png"
scale: 0.7
visible: true
anchors.verticalCenter: parent.verticalCenter
anchors.right: labelBalance.right
anchors.leftMargin: 5
anchors.rightMargin: 5
}
Text {
id: labelBalance
text: "0"
font.pointSize: 16
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: 10
}
}
Rectangle
......
......@@ -26,5 +26,6 @@
<file>Resources/Icons/home.png</file>
<file>Resources/Icons/settings.png</file>
<file>Resources/Icons/dialog.png</file>
<file>Resources/Icons/exit.png</file>
</qresource>
</RCC>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment