2021-10-01 15:58:36 +00:00
|
|
|
import QtQuick 2.3
|
|
|
|
|
|
|
|
import utils 1.0
|
2021-10-27 21:27:49 +00:00
|
|
|
import shared 1.0
|
|
|
|
import shared.panels 1.0
|
2021-10-01 15:58:36 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: root
|
|
|
|
width: parent.width
|
|
|
|
height: childrenRect.height + Style.current.halfPadding
|
|
|
|
|
|
|
|
property var acc
|
|
|
|
property string fromAddress
|
|
|
|
property var selectedRecipient
|
|
|
|
property var selectedAsset
|
|
|
|
property string selectedAmount
|
|
|
|
property string selectedFiatAmount
|
|
|
|
|
2021-10-22 20:49:47 +00:00
|
|
|
signal sendTransaction()
|
2021-10-01 15:58:36 +00:00
|
|
|
|
|
|
|
Separator {
|
|
|
|
id: separator
|
|
|
|
}
|
|
|
|
|
|
|
|
StyledText {
|
|
|
|
id: signText
|
|
|
|
color: Style.current.blue
|
2022-04-04 11:26:30 +00:00
|
|
|
text: qsTr("Sign and send")
|
2021-10-01 15:58:36 +00:00
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
font.weight: Font.Medium
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.left: parent.left
|
|
|
|
topPadding: Style.current.halfPadding
|
|
|
|
anchors.top: separator.bottom
|
|
|
|
font.pixelSize: 15
|
|
|
|
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
cursorShape: Qt.PointingHandCursor
|
|
|
|
onClicked: {
|
2021-10-22 20:49:47 +00:00
|
|
|
root.sendTransaction();
|
2021-10-01 15:58:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|