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

Function setupAddressWidget

src/qt/guiutil.cpp:108–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)
109{
110 parent->setFocusProxy(widget);
111
112 widget->setFont(fixedPitchFont());
113 // We don't want translators to use own addresses in translations
114 // and this is the only place, where this address is supplied.
115 widget->setPlaceholderText(QObject::tr("Enter a Bitcoin address (e.g. %1)").arg(
116 QString::fromStdString(DummyAddress(Params()))));
117 widget->setValidator(new BitcoinAddressEntryValidator(parent));
118 widget->setCheckValidator(new BitcoinAddressCheckValidator(parent));
119}
120
121bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out)
122{

Callers 4

SendCoinsEntryMethod · 0.85
SendCoinsDialogMethod · 0.85
EditAddressDialogMethod · 0.85

Calls 4

fixedPitchFontFunction · 0.85
DummyAddressFunction · 0.85
setCheckValidatorMethod · 0.80
ParamsClass · 0.50

Tested by

no test coverage detected