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

Function copyEntryData

src/qt/guiutil.cpp:235–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void copyEntryData(QAbstractItemView *view, int column, int role)
236{
237 if(!view || !view->selectionModel())
238 return;
239 QModelIndexList selection = view->selectionModel()->selectedRows(column);
240
241 if(!selection.isEmpty())
242 {
243 // Copy first item
244 setClipboard(selection.at(0).data(role).toString());
245 }
246}
247
248QList<QModelIndex> getEntryData(QAbstractItemView *view, int column)
249{

Callers 9

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

Calls 2

setClipboardFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected