MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / copyEntryData

Function copyEntryData

src/qt/guiutil.cpp:264–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264void copyEntryData(const QAbstractItemView *view, int column, int role)
265{
266 if(!view || !view->selectionModel())
267 return;
268 QModelIndexList selection = view->selectionModel()->selectedRows(column);
269
270 if(!selection.isEmpty())
271 {
272 // Copy first item
273 setClipboard(selection.at(0).data(role).toString());
274 }
275}
276
277QList<QModelIndex> getEntryData(const QAbstractItemView *view, int column)
278{

Callers 10

copyAddressMethod · 0.85
copyLabelMethod · 0.85
copyAmountMethod · 0.85
copyTxIDMethod · 0.85
copyTxHexMethod · 0.85
copyTxPlainTextMethod · 0.85
eventFilterMethod · 0.85
onCopyLabelActionMethod · 0.85
setClientModelMethod · 0.85

Calls 4

setClipboardFunction · 0.85
toStringMethod · 0.45
dataMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected