mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-26 14:32:01 +00:00
efbc8073e1
Introducing stores, panels, views and controls in order to implement the new architecture proposal in WalletV2 Closes #3479
56 lines
1.2 KiB
QML
56 lines
1.2 KiB
QML
import QtQuick 2.14
|
|
import QtQuick.Controls 2.14
|
|
import "../../../../imports"
|
|
import "../controls"
|
|
import "../popups"
|
|
|
|
Item {
|
|
id: walletFooterRoot
|
|
height: 50
|
|
width: parent.width
|
|
property var walletV2Model
|
|
|
|
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 {
|
|
imageSource: "../../../img/swap-icon.svg"
|
|
text: qsTr("Swap")
|
|
onClicked: {
|
|
console.log("TODO");
|
|
}
|
|
}
|
|
|
|
WalletButton {
|
|
imageSource: "../../../img/send.svg"
|
|
text: qsTr("Send")
|
|
onClicked: {
|
|
console.log("TODO");
|
|
}
|
|
}
|
|
|
|
WalletButton {
|
|
imageSource: "../../../img/crypto-icon.svg"
|
|
text: qsTr("Buy / Sell")
|
|
onClicked: {
|
|
cryptoServicesModal.open();
|
|
}
|
|
}
|
|
}
|
|
|
|
CryptoServicesModal {
|
|
id: cryptoServicesModal
|
|
anchors.centerIn: parent
|
|
walletV2Model: walletFooterRoot.walletV2Model
|
|
}
|
|
}
|