13 #include <QHBoxLayout>
21 QHBoxLayout *walletFrameLayout =
new QHBoxLayout(
this);
22 setContentsMargins(0,0,0,0);
24 walletFrameLayout->setContentsMargins(0,0,0,0);
27 QLabel *noWallet =
new QLabel(tr(
"No wallet has been loaded."));
28 noWallet->setAlignment(Qt::AlignCenter);
58 connect(walletView, SIGNAL(showNormalIfMinimized()),
gui, SLOT(showNormalIfMinimized()));
86 QMap<QString, WalletView*>::const_iterator i;
104 QMap<QString, WalletView*>::const_iterator i;
106 i.value()->showOutOfSyncWarning(fShow);
111 QMap<QString, WalletView*>::const_iterator i;
113 i.value()->gotoOverviewPage();
118 QMap<QString, WalletView*>::const_iterator i;
120 i.value()->gotoHistoryPage();
125 QMap<QString, WalletView*>::const_iterator i;
127 i.value()->gotoReceiveCoinsPage();
132 QMap<QString, WalletView*>::const_iterator i;
134 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 usedSendingAddresses()
Show used sending addresses.
WalletView * currentWalletView()
ClientModel * clientModel
void changePassphrase()
Change encrypted wallet passphrase.
void usedReceivingAddresses()
Show used receiving addresses.
QStackedWidget * walletStack
void encryptWallet(bool status)
Encrypt the wallet.
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 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.
bool addWallet(const QString &name, WalletModel *walletModel)
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
void changePassphrase()
Change encrypted wallet passphrase.
Model for Anoncoin network client.
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
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 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 Anoncoin wallet from Qt view code.
bool removeWallet(const QString &name)
void setClientModel(ClientModel *clientModel)
Set the client model.
void backupWallet()
Backup the wallet.
void setAnoncoinGUI(AnoncoinGUI *gui)
void encryptWallet(bool status)
Encrypt the wallet.
WalletFrame(AnoncoinGUI *_gui=0)
void usedSendingAddresses()
Show used sending addresses.
void showOutOfSyncWarning(bool fShow)