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

Method on_recentRequestsView_doubleClicked

src/qt/receivecoinsdialog.cpp:199–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void ReceiveCoinsDialog::on_recentRequestsView_doubleClicked(const QModelIndex &index)
200{
201 const RecentRequestsTableModel *submodel = model->getRecentRequestsTableModel();
202 ReceiveRequestDialog *dialog = new ReceiveRequestDialog(this);
203 dialog->setModel(model);
204 dialog->setInfo(submodel->entry(index.row()).recipient);
205 dialog->setAttribute(Qt::WA_DeleteOnClose);
206 dialog->show();
207}
208
209void ReceiveCoinsDialog::recentRequestsView_selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
210{

Callers

nothing calls this directly

Calls 3

setInfoMethod · 0.80
setModelMethod · 0.45

Tested by

no test coverage detected