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);
60 connect(walletView, SIGNAL(showNormalIfMinimized()),
gui, SLOT(showNormalIfMinimized()));
91 QMap<QString, WalletView*>::const_iterator i;
109 QMap<QString, WalletView*>::const_iterator i;
111 i.value()->showOutOfSyncWarning(fShow);
116 QMap<QString, WalletView*>::const_iterator i;
118 i.value()->gotoOverviewPage();
123 QMap<QString, WalletView*>::const_iterator i;
125 i.value()->gotoHistoryPage();
130 QMap<QString, WalletView*>::const_iterator i;
132 i.value()->gotoReceiveCoinsPage();
137 QMap<QString, WalletView*>::const_iterator i;
139 i.value()->gotoSendCoinsPage(addr);
211 QMap<QString, WalletView*>::const_iterator i;
213 i.value()->gotoAssetsPage();
218 QMap<QString, WalletView*>::const_iterator i;
220 i.value()->gotoCreateAssetsPage();
225 QMap<QString, WalletView*>::const_iterator i;
227 i.value()->gotoManageAssetsPage();
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.
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 gotoCreateAssetsPage()
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 Raven 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()
RVN END.
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 Raven wallet from Qt view code.
bool removeWallet(const QString &name)
void setClientModel(ClientModel *clientModel)
Set the client model.
void gotoManageAssetsPage()
void backupWallet()
Backup the wallet.
void encryptWallet(bool status)
Encrypt the wallet.
void setRavenGUI(RavenGUI *gui)
void gotoAssetsPage()
RVN START.
void usedSendingAddresses()
Show used sending addresses.
void showOutOfSyncWarning(bool fShow)
WalletFrame(const PlatformStyle *platformStyle, RavenGUI *_gui=0)