status-desktop/ui/app/AppLayouts/Wallet/components/SendModalContent.qml

58 lines
1.4 KiB
QML
Raw Normal View History

2020-06-17 19:18:31 +00:00
import QtQuick 2.13
2020-05-29 15:43:37 +00:00
import "../../../../imports"
import "../../../../shared"
Item {
id: sendModalContent
property alias amountInput: txtAmount
property alias amountText: txtAmount.text
property alias fromText: txtFrom.text
property alias toText: txtTo.text
property alias passwordText: txtPassword.text
property string defaultAccount: "0x1234"
2020-05-29 15:43:37 +00:00
anchors.left: parent.left
anchors.right: parent.right
2020-05-29 15:43:37 +00:00
Input {
id: txtAmount
label: qsTr("Amount")
icon: "../../../img/token-icons/eth.svg"
2020-05-29 15:43:37 +00:00
anchors.top: parent.top
placeholderText: qsTr("Enter ETH")
2020-05-29 15:43:37 +00:00
}
Input {
id: txtFrom
label: qsTr("From account")
text: defaultAccount
placeholderText: qsTr("Send from (account)")
anchors.top: txtAmount.bottom
2020-05-29 15:43:37 +00:00
anchors.topMargin: Theme.padding
}
Input {
id: txtTo
label: qsTr("Recipient")
text: defaultAccount
placeholderText: qsTr("Send to")
anchors.top: txtFrom.bottom
anchors.topMargin: Theme.padding
2020-05-29 15:43:37 +00:00
}
Input {
id: txtPassword
label: qsTr("Password")
placeholderText: qsTr("Enter Password")
anchors.top: txtTo.bottom
anchors.topMargin: Theme.padding
textField.echoMode: TextInput.Password
2020-05-29 15:43:37 +00:00
}
}
/*##^##
Designer {
D{i:0;autoSize:true;formeditorColor:"#ffffff";formeditorZoom:0.75;height:480;width:640}
2020-05-29 15:43:37 +00:00
}
##^##*/