aboutsummaryrefslogtreecommitdiff
path: root/MiddlePanel.qml
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-26 18:04:45 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-26 18:04:45 +0300
commit17f38a930e33c25392dd565f484009e5eddba56a (patch)
treed1aaa440fc48debb8232726a953447bd7f61ced5 /MiddlePanel.qml
parent88d9be953babda68cb5325258569578c11fa4438 (diff)
downloadmonzero-gui-17f38a930e33c25392dd565f484009e5eddba56a.tar.gz
monzero-gui-17f38a930e33c25392dd565f484009e5eddba56a.tar.xz
monzero-gui-17f38a930e33c25392dd565f484009e5eddba56a.zip
Added "Receive" page. Hide all pages except "Transfer" and "Receive".
Diffstat (limited to 'MiddlePanel.qml')
-rw-r--r--MiddlePanel.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index edb4963d..4d65636c 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -31,6 +31,7 @@ import QtQuick 2.2
Rectangle {
color: "#F0EEEE"
signal paymentClicked(string address, string paymentId, double amount, int mixinCount)
+ signal generatePaymentIdInvoked()
states: [
State {
@@ -43,6 +44,9 @@ Rectangle {
name: "Transfer"
PropertyChanges { target: loader; source: "pages/Transfer.qml" }
}, State {
+ name: "Receive"
+ PropertyChanges { target: loader; source: "pages/Receive.qml" }
+ }, State {
name: "AddressBook"
PropertyChanges { target: loader; source: "pages/AddressBook.qml" }
}, State {
@@ -79,6 +83,7 @@ Rectangle {
}
+ /* connect "payment" click */
Connections {
ignoreUnknownSignals: false
target: loader.item