 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
12 #include <QHBoxLayout>
19 QHBoxLayout* walletFrameLayout =
new QHBoxLayout(
this);
20 setContentsMargins(0, 0, 0, 0);
22 walletFrameLayout->setContentsMargins(0, 0, 0, 0);
24 walletFrameLayout->setSpacing(0);
25 QLabel* noWallet =
new QLabel(tr(
"No wallet has been loaded."));
26 noWallet->setAlignment(Qt::AlignCenter);
56 connect(walletView, SIGNAL(showNormalIfMinimized()),
gui, SLOT(showNormalIfMinimized()));
83 QMap<QString, WalletView*>::const_iterator i;
92 QMap<QString, WalletView*>::const_iterator i;
94 i.value()->showSyncStatus(fShow);
99 QMap<QString, WalletView*>::const_iterator i;
101 i.value()->gotoOverviewPage();
106 QMap<QString, WalletView*>::const_iterator i;
108 i.value()->gotoHistoryPage();
113 QMap<QString, WalletView*>::const_iterator i;
115 i.value()->gotoMasternodePage();
120 QMap<QString, WalletView*>::const_iterator i;
122 i.value()->gotoBlockExplorerPage();
127 QMap<QString, WalletView*>::const_iterator i;
129 i.value()->gotoReceiveCoinsPage();
134 QMap<QString, WalletView*>::const_iterator i;
136 i.value()->gotoOptionsPage();
142 if (settings.value(
"fLockSendStaking",
false).toBool()) {
143 LogPrintf(
"Attempt to go to Send tab.\n");
146 QMap<QString, WalletView*>::const_iterator i;
148 i.value()->gotoSendCoinsPage(addr);
234 return qobject_cast<WalletView*>(
walletStack->currentWidget());
void encryptWallet(bool status)
Encrypt the wallet.
WalletFrame(BitcoinGUI *_gui=0)
void gotoReceiveCoinsPage()
Switch to receive coins page.
void toggleLockWallet()
Toggle Wallet Lock State.
Interface to Bitcoin wallet from Qt view code.
bool removeWallet(const QString &name)
void changePassphrase()
Change encrypted wallet passphrase.
void showSeedPhrase()
Show 24 word seed phrase.
void backupWallet()
Backup the wallet.
void gotoMultiSendDialog()
Show MultiSend Dialog.
void setClientModel(ClientModel *clientModel)
Set the client model.
void usedReceivingAddresses()
Show used receiving addresses.
void gotoOptionsPage()
Switch to options page.
void lockWallet()
Lock wallet.
void updateEncryptionStatus()
Re-Q_EMIT encryption status signal.
@ Unlock_Full
Unlock wallet from menu
void gotoBlockExplorerPage()
Switch to explorer page.
void toggleLockWallet()
Toggle wallet lock state.
bool setCurrentWallet(const QString &name)
ClientModel * clientModel
void usedSendingAddresses()
Show used sending addresses.
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
void gotoMasternodePage()
Switch to masternode page.
Model for PRCY network client.
void unlockWallet(AskPassphraseDialog::Context context)
Ask for passphrase to unlock wallet temporarily.
void showSeedPhrase()
Return 24 word seed phrase.
void setClientModel(ClientModel *clientModel)
void gotoOverviewPage()
Switch to overview (home) page.
void setWalletModel(WalletModel *walletModel)
Set the wallet model.
void unlockWallet(AskPassphraseDialog::Context context)
Ask for passphrase to unlock wallet temporarily.
void changePassphrase()
Change encrypted wallet passphrase.
void encryptWallet(bool status)
Encrypt the wallet.
void gotoOverviewPage()
Switch to overview (home) page.
QStackedWidget * walletStack
QMap< QString, WalletView * > mapWalletViews
void backupWallet()
Backup the wallet.
void gotoMultiSendDialog()
Show MultiSend Dialog.
void usedSendingAddresses()
Show used sending addresses.
WalletView * currentWalletView()
void setBitcoinGUI(BitcoinGUI *gui)
void usedReceivingAddresses()
Show used receiving addresses.
void lockWallet()
Lock wallet.
void gotoHistoryPage()
Switch to history (transactions) page.
void showSyncStatus(bool fShow)
bool addWallet(const QString &name, WalletModel *walletModel)
void showSyncStatus(bool fShow)