emizzle 82022f655c
feat: Send transaction componets -- Asset selector
Selects an asset to be used in the send transaction dialog.
2020-08-06 12:19:08 +10:00

46 lines
910 B
QML

import QtQuick 2.13
import QtQuick.Controls 2.13
import "../../../imports"
import "../../../shared"
import "./components"
ModalPopup {
id: popup
//% "Send"
title: qsTrId("command-button-send")
height: 600
onOpened: {
sendModalContent.amountInput.text = ""
sendModalContent.passwordInput.text = ""
sendModalContent.amountInput.forceActiveFocus(Qt.MouseFocusReason)
}
SendModalContent {
id: sendModalContent
closePopup: function () {
popup.close()
}
}
footer: StyledButton {
anchors.top: parent.top
anchors.right: parent.right
anchors.rightMargin: Style.current.padding
//% "Send"
label: qsTrId("command-button-send")
onClicked: {
sendModalContent.send()
}
}
}
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/