aboutsummaryrefslogtreecommitdiff
path: root/MiddlePanel.qml
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-16 17:13:46 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-16 17:13:46 +0300
commiteaf59243b2cbe3d7ea6de1d8dcd18493df9f365d (patch)
tree91558ec1f08da11e8eb08e9fce392425673dd44d /MiddlePanel.qml
parent3ddd9bed72da0e039f44b64a4cc9fff679dd40ed (diff)
downloadmonzero-gui-eaf59243b2cbe3d7ea6de1d8dcd18493df9f365d.tar.gz
monzero-gui-eaf59243b2cbe3d7ea6de1d8dcd18493df9f365d.tar.xz
monzero-gui-eaf59243b2cbe3d7ea6de1d8dcd18493df9f365d.zip
basic "send money" functionality implemented in GUI
Diffstat (limited to 'MiddlePanel.qml')
-rw-r--r--MiddlePanel.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index 62072af9..28d6f137 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -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 {