MCPcopy Create free account
hub / github.com/ElementsProject/elements / on_addressBookButton_clicked

Method on_addressBookButton_clicked

src/qt/sendcoinsentry.cpp:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void SendCoinsEntry::on_addressBookButton_clicked()
71{
72 if(!model)
73 return;
74 AddressBookPage dlg(platformStyle, AddressBookPage::ForSelection, AddressBookPage::SendingTab, this);
75 dlg.setModel(model->getAddressTableModel());
76 if(dlg.exec())
77 {
78 ui->payTo->setText(dlg.getReturnValue());
79 ui->payAmount->setFocus();
80 }
81}
82
83void SendCoinsEntry::on_payTo_textChanged(const QString &address)
84{

Callers

nothing calls this directly

Calls 6

getAddressTableModelMethod · 0.80
execMethod · 0.80
setTextMethod · 0.80
getReturnValueMethod · 0.80
setFocusMethod · 0.80
setModelMethod · 0.45

Tested by

no test coverage detected