| 106 | } |
| 107 | |
| 108 | void 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 | |
| 121 | bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) |
| 122 | { |
no test coverage detected