14 #include <QHBoxLayout> 20 platformStyle(_platformStyle)
23 QHBoxLayout *walletFrameLayout =
new QHBoxLayout(
this);
24 setContentsMargins(0,0,0,0);
26 walletFrameLayout->setContentsMargins(0,0,0,0);
29 QLabel *noWallet =
new QLabel(tr(
"No wallet has been loaded."));
30 noWallet->setAlignment(Qt::AlignCenter);
61 if (current_wallet_view) {
62 walletView->setCurrentIndex(current_wallet_view->currentIndex());
105 QMap<QString, WalletView*>::const_iterator i;
123 QMap<QString, WalletView*>::const_iterator i;
125 i.value()->showOutOfSyncWarning(fShow);
130 QMap<QString, WalletView*>::const_iterator i;
132 i.value()->gotoOverviewPage();
137 QMap<QString, WalletView*>::const_iterator i;
139 i.value()->gotoHistoryPage();
144 QMap<QString, WalletView*>::const_iterator i;
146 i.value()->gotoReceiveCoinsPage();
151 QMap<QString, WalletView*>::const_iterator i;
153 i.value()->gotoSendCoinsPage(addr);
bool handlePaymentRequest(const SendCoinsRecipient &recipient)
bool setCurrentWallet(const QString &name)
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
void showNormalIfMinimized()
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHid...
void usedSendingAddresses()
Show used sending addresses.
WalletView * currentWalletView()
ClientModel * clientModel
void changePassphrase()
Change encrypted wallet passphrase.
void usedReceivingAddresses()
Show used receiving addresses.
QStackedWidget * walletStack
WalletFrame(const PlatformStyle *platformStyle, BitcoinGUI *_gui=0)
void encryptWallet(bool status)
Encrypt the wallet.
void outOfSyncWarningClicked()
Notify that the out of sync warning icon has been pressed.
void outOfSyncWarningClicked()
Pass on signal over requested out-of-sync-warning information.
QMap< QString, WalletView * > mapWalletViews
void updateEncryptionStatus()
Re-emit encryption status signal.
void showOutOfSyncWarning(bool fShow)
void gotoHistoryPage()
Switch to history (transactions) page.
void gotoOverviewPage()
Switch to overview (home) page.
void setBitcoinGUI(BitcoinGUI *gui)
void usedReceivingAddresses()
Show used receiving addresses.
void setClientModel(ClientModel *clientModel)
void setWalletModel(WalletModel *walletModel)
Set the wallet model.
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
QString getWalletName() const
void changePassphrase()
Change encrypted wallet passphrase.
Model for Bitcoin network client.
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
void showNormalIfMinimized()
Signal that we want to show the main window.
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
void backupWallet()
Backup the wallet.
bool handlePaymentRequest(const SendCoinsRecipient &recipient)
void gotoOverviewPage()
Switch to overview (home) page.
void requestedSyncWarningInfo()
Notify that the user has requested more information about the out-of-sync warning.
const PlatformStyle * platformStyle
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
void gotoReceiveCoinsPage()
Switch to receive coins page.
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
Interface to Bitcoin wallet from Qt view code.
bool removeWallet(const QString &name)
void setClientModel(ClientModel *clientModel)
Set the client model.
bool addWallet(WalletModel *walletModel)
void backupWallet()
Backup the wallet.
void encryptWallet(bool status)
Encrypt the wallet.
void usedSendingAddresses()
Show used sending addresses.
void showOutOfSyncWarning(bool fShow)