Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
walletview.cpp
Go to the documentation of this file.
77 usedSendingAddressesPage = new AddressBookPage(AddressBookPage::ForEditing, AddressBookPage::SendingTab, this);
78 usedReceivingAddressesPage = new AddressBookPage(AddressBookPage::ForEditing, AddressBookPage::ReceivingTab, this);
92 // Clicking on a transaction on the overview pre-selects the transaction on the transaction history page
93 connect(overviewPage, SIGNAL(transactionClicked(QModelIndex)), transactionView, SLOT(focusTransaction(QModelIndex)));
94 connect(overviewPage, SIGNAL(outOfSyncWarningClicked()), this, SLOT(requestedSyncWarningInfo()));
97 connect(transactionView, SIGNAL(doubleClicked(QModelIndex)), transactionView, SLOT(showDetails()));
106 connect(sendCoinsPage, SIGNAL(message(QString,QString,unsigned int)), this, SIGNAL(message(QString,QString,unsigned int)));
107 connect(privateSendCoinsPage, SIGNAL(message(QString, QString, unsigned int)), this, SIGNAL(message(QString, QString, unsigned int)));
110 connect(transactionView, SIGNAL(message(QString,QString,unsigned int)), this, SIGNAL(message(QString,QString,unsigned int)));
127 connect(this, SIGNAL(message(QString,QString,unsigned int)), gui, SLOT(message(QString,QString,unsigned int)));
133 connect(this, SIGNAL(incomingTransaction(QString,int,CAmount,QString,QString,QString)), gui, SLOT(incomingTransaction(QString,int,CAmount,QString,QString,QString)));
167 usedReceivingAddressesPage->setModel(_walletModel ? _walletModel->getAddressTableModel() : nullptr);
168 usedSendingAddressesPage->setModel(_walletModel ? _walletModel->getAddressTableModel() : nullptr);
173 connect(_walletModel, SIGNAL(message(QString,QString,unsigned int)), this, SIGNAL(message(QString,QString,unsigned int)));
176 connect(_walletModel, SIGNAL(encryptionStatusChanged(int)), this, SIGNAL(encryptionStatusChanged(int)));
190 connect(_walletModel, SIGNAL(showProgress(QString,int)), this, SLOT(showProgress(QString,int)));
215 qint64 amount = ttm->index(start, TransactionTableModel::Amount, parent).data(Qt::EditRole).toULongLong();
220 Q_EMIT incomingTransaction(date, walletModel->getOptionsModel()->getDisplayUnit(), amount, type, address, label);
306 AskPassphraseDialog dlg(status ? AskPassphraseDialog::Encrypt : AskPassphraseDialog::Decrypt, this);
323 Q_EMIT message(tr("Backup Failed"), tr("There was an error trying to save the wallet data to %1.").arg(filename),
327 Q_EMIT message(tr("Backup Successful"), tr("The wallet data was successfully saved to %1.").arg(filename),
345 if (walletModel->getEncryptionStatus() == WalletModel::Locked || walletModel->getEncryptionStatus() == WalletModel::UnlockedForMixingOnly)
347 AskPassphraseDialog dlg(fForMixingOnly ? AskPassphraseDialog::UnlockMixing : AskPassphraseDialog::Unlock, this);
void trxAmount(QString amount)
Update selected DASH amount from transactionview.
Definition: walletview.cpp:406
void showTab_SM(bool fShow)
Definition: signverifymessagedialog.cpp:86
bool inInitialBlockDownload() const
Return true if core is doing initial block download.
Definition: clientmodel.cpp:218
void setWalletModel(WalletModel *walletModel)
Definition: overviewpage.cpp:264
void unlockWallet(bool fAnonymizeOnly=false)
Ask for passphrase to unlock wallet temporarily.
Definition: walletview.cpp:339
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
Definition: walletview.cpp:275
Ask passphrase and unlock only for mixing.
Definition: askpassphrasedialog.h:25
void setFont(const std::vector< QWidget *> &vecWidgets, FontWeight weight, int nPointSize, bool fItalic)
Workaround to set correct font styles in all themes since there is a bug in macOS which leads to issu...
Definition: guiutil.cpp:1552
void setAddress_VM(const QString &address)
Definition: signverifymessagedialog.cpp:80
Definition: addressbookpage.h:31
void setWalletModel(WalletModel *walletModel)
Definition: masternodelist.cpp:117
void requestedSyncWarningInfo()
User has requested more information about the out of sync state.
Definition: walletview.cpp:400
bool handlePaymentRequest(const SendCoinsRecipient &recipient)
Definition: sendcoinsdialog.cpp:607
void outOfSyncWarningClicked()
Notify that the out of sync warning icon has been pressed.
AddressTableModel * getAddressTableModel()
Definition: walletmodel.cpp:464
EncryptionStatus getEncryptionStatus() const
Definition: walletmodel.cpp:479
void processNewTransaction(const QModelIndex &parent, int start, int)
Show incoming transaction notification for new transactions.
Definition: walletview.cpp:194
bool processingQueuedTransactions() const
Definition: transactiontablemodel.h:83
void updateFonts()
Update the font of all widgets where a custom font has been set with GUIUtil::setFont.
Definition: guiutil.cpp:1563
void hdEnabledStatusChanged(int hdEnabled)
HD-Enabled status of wallet changed (only possible during startup)
void setAddress(const QString &address)
Definition: sendcoinsdialog.cpp:563
void setClientModel(ClientModel *clientModel)
Definition: sendcoinsdialog.cpp:170
void encryptionStatusChanged(int status)
Encryption status of wallet changed.
void incomingTransaction(const QString &date, int unit, const CAmount &amount, const QString &type, const QString &address, const QString &label)
Notify that a new transaction appeared.
Widget showing the transaction list for a wallet, including a filter row.
Definition: transactionview.h:31
Definition: walletmodel.h:39
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
TransactionTableModel * getTransactionTableModel()
Definition: walletmodel.cpp:469
Definition: ui_interface.h:72
Widget that shows a list of sending or receiving addresses.
Definition: addressbookpage.h:25
UI model for the transaction table of a wallet.
Definition: transactiontablemodel.h:21
void disableMacFocusRect(const QWidget *w)
Disable the OS default focus rect for macOS because we have custom focus rects set in the css files...
Definition: guiutil.cpp:1789
bool handlePaymentRequest(const SendCoinsRecipient &recipient)
Definition: walletview.cpp:287
void showOutOfSyncWarning(bool fShow)
Definition: overviewpage.cpp:319
QVariant data(const QModelIndex &index, int role) const
Definition: transactiontablemodel.cpp:583
AddressBookPage * usedSendingAddressesPage
Definition: walletview.h:68
void gotoPrivateSendCoinsPage(QString addr="")
Switch to PrivateSend coins page.
Definition: walletview.cpp:255
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
Definition: walletview.cpp:263
void showProgress(const QString &title, int nProgress)
Show progress dialog e.g.
Definition: walletview.cpp:377
Multifunctional dialog to ask for passphrases.
Definition: askpassphrasedialog.h:18
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedSuffixOut)
Get save filename, mimics QFileDialog::getSaveFileName, except that it appends a default suffix when ...
Definition: guiutil.cpp:521
void setClientModel(ClientModel *clientModel)
Definition: overviewpage.cpp:253
Label of address related to transaction.
Definition: transactiontablemodel.h:57
Ask old passphrase + new passphrase twice.
Definition: askpassphrasedialog.h:27
void setModel(WalletModel *model)
Definition: signverifymessagedialog.cpp:69
Definition: walletmodel.h:125
void setClientModel(ClientModel *clientModel)
Definition: masternodelist.cpp:108
bool setWalletLocked(bool locked, const SecureString &passPhrase=SecureString(), bool fMixing=false)
Definition: walletmodel.cpp:513
void showTab_VM(bool fShow)
Definition: signverifymessagedialog.cpp:93
Predefined combinations for certain default usage cases.
Definition: ui_interface.h:70
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: transactiontablemodel.cpp:750
void setAddress_SM(const QString &address)
Definition: signverifymessagedialog.cpp:74
AddressBookPage * usedReceivingAddressesPage
Definition: walletview.h:69
void setModel(WalletModel *model)
Definition: askpassphrasedialog.cpp:101