AddressBook: basic functions

This commit is contained in:
Jaquee
2016-12-10 02:01:04 +01:00
parent 160a042165
commit a344f17cd1
15 changed files with 387 additions and 37 deletions

View File

@@ -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 }