diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2016-12-10 02:01:04 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2016-12-14 23:04:13 +0100 |
| commit | a344f17cd1716c34672e2c201137d772b165da2e (patch) | |
| tree | 6c59feb8e6ca336499094814d2e2a5900eb91f29 /MiddlePanel.qml | |
| parent | 160a042165b8ff68904b847f46dba4aa95553a62 (diff) | |
| download | monzero-gui-a344f17cd1716c34672e2c201137d772b165da2e.tar.gz monzero-gui-a344f17cd1716c34672e2c201137d772b165da2e.tar.xz monzero-gui-a344f17cd1716c34672e2c201137d772b165da2e.zip | |
AddressBook: basic functions
Diffstat (limited to 'MiddlePanel.qml')
| -rw-r--r-- | MiddlePanel.qml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 60f79185..6f6e3043 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -51,6 +51,7 @@ Rectangle { property History historyView: History { } property Sign signView: Sign { } property Settings settingsView: Settings { } + property AddressBook addressBookView: AddressBook { } signal paymentClicked(string address, string paymentId, string amount, int mixinCount, int priority, string description) @@ -81,6 +82,12 @@ Rectangle { transferView.updateStatus(); } + // send from AddressBook + function sendTo(address, paymentId, description){ + root.state = "Transfer"; + transferView.sendTo(address, paymentId, description); + } + // XXX: just for memo, to be removed // states: [ @@ -127,7 +134,7 @@ Rectangle { PropertyChanges { target: root; currentView: txkeyView } }, State { name: "AddressBook" - PropertyChanges { /*TODO*/ } + PropertyChanges { target: root; currentView: addressBookView } }, State { name: "Sign" PropertyChanges { target: root; currentView: signView } |
