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

Method changeEvent

src/qt/sendcoinsentry.cpp:267–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void SendCoinsEntry::changeEvent(QEvent* e)
268{
269 if (e->type() == QEvent::PaletteChange) {
270 ui->addressBookButton->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/address-book")));
271 ui->pasteButton->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/editpaste")));
272 ui->deleteButton->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
273 ui->deleteButton_is->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
274 ui->deleteButton_s->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
275 }
276
277 QStackedWidget::changeEvent(e);
278}
279
280bool SendCoinsEntry::updateLabel(const QString &address)
281{

Callers

nothing calls this directly

Calls 2

typeMethod · 0.80
SingleColorIconMethod · 0.80

Tested by

no test coverage detected