mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 22:57:25 -04:00
AddressBook: basic functions
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user