40 QLabel *
noWallet =
new QLabel(
tr(
"No wallet has been loaded.\nGo to File > "
41 "Open Wallet to load a wallet.\n- OR -"));
42 noWallet->setAlignment(Qt::AlignCenter);
44 Qt::AlignHCenter | Qt::AlignBottom);
53 &QObject::deleteLater);
57 Qt::AlignHCenter | Qt::AlignTop);
101 &BitcoinGUI::gotoHistoryPage);
103 &BitcoinGUI::gotoHistoryPage);
109 &BitcoinGUI::updateWalletStatus);
111 &BitcoinGUI::incomingTransaction);
113 &BitcoinGUI::updateWalletStatus);
141 QMap<WalletModel *, WalletView *>::const_iterator i;
154 return walletView->handlePaymentRequest(recipient);
159 QMap<WalletModel *, WalletView *>::const_iterator i;
161 i.value()->showOutOfSyncWarning(
fShow);
166 QMap<WalletModel *, WalletView *>::const_iterator i;
168 i.value()->gotoOverviewPage();
173 QMap<WalletModel *, WalletView *>::const_iterator i;
175 i.value()->gotoHistoryPage();
180 QMap<WalletModel *, WalletView *>::const_iterator i;
182 i.value()->gotoReceiveCoinsPage();
187 QMap<WalletModel *, WalletView *>::const_iterator i;
189 i.value()->gotoSendCoinsPage(addr);
void setPrivacy(bool privacy)
bool isPrivacyModeActivated() const
void message(const QString &title, QString message, unsigned int style, bool *ret=nullptr, const QString &detailed_message=QString())
Notify the user of an event from the core network or transaction handling code.
Model for Bitcoin network client.
Overview ("home") page widget.
bool addWallet(WalletModel *walletModel)
void changePassphrase()
Change encrypted wallet passphrase.
void requestedSyncWarningInfo()
Notify that the user has requested more information about the out-of-sync warning.
WalletModel * currentWalletModel() const
void gotoHistoryPage()
Switch to history (transactions) page.
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
WalletView * currentWalletView() const
void gotoOverviewPage()
Switch to overview (home) page.
QMap< WalletModel *, WalletView * > mapWalletViews
ClientModel * clientModel
const PlatformStyle * platformStyle
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
void removeWallet(WalletModel *wallet_model)
void setClientModel(ClientModel *clientModel)
void backupWallet()
Backup the wallet.
QStackedWidget * walletStack
void usedSendingAddresses()
Show used sending addresses.
void encryptWallet()
Encrypt the wallet.
void gotoLoadPSBT()
Load Partially Signed Bitcoin Transaction.
void usedReceivingAddresses()
Show used receiving addresses.
void outOfSyncWarningClicked()
Pass on signal over requested out-of-sync-warning information.
void setCurrentWallet(WalletModel *wallet_model)
bool handlePaymentRequest(const SendCoinsRecipient &recipient)
WalletFrame(const PlatformStyle *platformStyle, BitcoinGUI *_gui=nullptr)
void showOutOfSyncWarning(bool fShow)
void gotoReceiveCoinsPage()
Switch to receive coins page.
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
Interface to Bitcoin wallet from Qt view code.
void incomingTransaction(const QString &date, int unit, const Amount amount, const QString &type, const QString &address, const QString &label, const QString &walletName)
Notify that a new transaction appeared.
void outOfSyncWarningClicked()
Notify that the out of sync warning icon has been pressed.
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void transactionClicked()
void hdEnabledStatusChanged()
HD-Enabled status of wallet changed (only possible during startup)
void setPrivacy(bool privacy)
void encryptionStatusChanged()
Encryption status of wallet changed.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...