basic "send money" functionality implemented in GUI

This commit is contained in:
Ilya Kitaev
2016-06-16 17:13:46 +03:00
parent 3ddd9bed72
commit eaf59243b2
9 changed files with 82 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ import QtQuick 2.2
Rectangle {
color: "#F0EEEE"
signal paymentClicked(string address, string paymentId, double amount, double fee, int privacyLevel)
states: [
State {
@@ -72,6 +73,19 @@ Rectangle {
anchors.right: parent.right
anchors.top: styledRow.bottom
anchors.bottom: parent.bottom
onLoaded: {
console.log("Loaded " + item);
}
}
Connections {
ignoreUnknownSignals: false
target: loader.item
onPaymentClicked : {
console.log("MiddlePanel: paymentClicked")
paymentClicked(address, paymentId, amount, fee, privacyLevel)
}
}
Rectangle {