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

Method setHDStatus

src/qt/bitcoingui.cpp:1281–1286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279}
1280
1281void BitcoinGUI::setHDStatus(bool privkeyDisabled, int hdEnabled)
1282{
1283 labelWalletHDStatusIcon->setThemedPixmap(privkeyDisabled ? QStringLiteral(":/icons/eye") : hdEnabled ? QStringLiteral(":/icons/hd_enabled") : QStringLiteral(":/icons/hd_disabled"), STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE);
1284 labelWalletHDStatusIcon->setToolTip(privkeyDisabled ? tr("Private key <b>disabled</b>") : hdEnabled ? tr("HD key generation is <b>enabled</b>") : tr("HD key generation is <b>disabled</b>"));
1285 labelWalletHDStatusIcon->show();
1286}
1287
1288void BitcoinGUI::setEncryptionStatus(int status)
1289{

Callers

nothing calls this directly

Calls 1

setThemedPixmapMethod · 0.80

Tested by

no test coverage detected