Sale Djenic 7973679926 chore(@desktop/wallet2): added wallet's footer
Removed send/receive/settings buttons from the header.
Wallet's footer and buttons required by the new design are added.
2021-09-07 14:18:14 -04:00

55 lines
1.1 KiB
QML

import QtQuick 2.14
import QtQuick.Controls 2.14
import "../../../imports"
import "./components"
Item {
id: walletFooterRoot
height: 50
width: parent.width
Rectangle {
id: separatorLine
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
height: 1
color: Style.current.separator
}
Row {
anchors.centerIn: parent
spacing: 50
WalletButton {
id: swapBtn
imageSource: "../../img/swap-icon.svg"
text: qsTr("Swap")
onClicked: function (){
}
}
WalletButton {
id: sendBtn
imageSource: "../../img/send.svg"
text: qsTr("Send")
onClicked: function (){
}
}
WalletButton {
id: buySellBtn
imageSource: "../../img/crypto-icon.svg"
text: qsTr("Buy / Sell")
onClicked: function (){
cryptoServicesModal.open()
}
}
}
CryptoServicesModal {
id: cryptoServicesModal
}
}