2021-09-06 12:10:13 +00:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Controls 2.14
|
2021-09-28 15:04:06 +00:00
|
|
|
|
|
|
|
import utils 1.0
|
2021-09-14 16:23:02 +00:00
|
|
|
import "../controls"
|
|
|
|
import "../popups"
|
2021-09-06 12:10:13 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: walletFooterRoot
|
|
|
|
height: 50
|
|
|
|
width: parent.width
|
2021-09-14 16:23:02 +00:00
|
|
|
property var walletV2Model
|
2021-09-06 12:10:13 +00:00
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
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 {
|
2021-09-28 15:04:06 +00:00
|
|
|
imageSource: Style.svg("swap-icon")
|
2021-09-06 12:10:13 +00:00
|
|
|
text: qsTr("Swap")
|
2021-09-14 16:23:02 +00:00
|
|
|
onClicked: {
|
|
|
|
console.log("TODO");
|
2021-09-06 12:10:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
WalletButton {
|
2021-09-28 15:04:06 +00:00
|
|
|
imageSource: Style.svg("send")
|
2021-09-06 12:10:13 +00:00
|
|
|
text: qsTr("Send")
|
2021-09-14 16:23:02 +00:00
|
|
|
onClicked: {
|
|
|
|
console.log("TODO");
|
2021-09-06 12:10:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
WalletButton {
|
2021-09-28 15:04:06 +00:00
|
|
|
imageSource: Style.svg("crypto-icon")
|
2021-09-06 12:10:13 +00:00
|
|
|
text: qsTr("Buy / Sell")
|
2021-09-14 16:23:02 +00:00
|
|
|
onClicked: {
|
|
|
|
cryptoServicesModal.open();
|
2021-09-06 12:10:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
CryptoServicesModal {
|
|
|
|
id: cryptoServicesModal
|
2021-09-14 16:23:02 +00:00
|
|
|
anchors.centerIn: parent
|
2021-12-13 14:24:21 +00:00
|
|
|
// Not Refactored Yet
|
|
|
|
// walletV2Model: walletFooterRoot.walletV2Model
|
2021-09-06 12:10:13 +00:00
|
|
|
}
|
|
|
|
}
|