Bitcoin Core
27.99.0
P2P Digital Currency
|
Widget showing the transaction list for a wallet, including a filter row. More...
#include <transactionview.h>
Public Types | |
enum | DateEnum { All , Today , ThisWeek , ThisMonth , LastMonth , ThisYear , Range } |
enum | ColumnWidths { STATUS_COLUMN_WIDTH = 30 , WATCHONLY_COLUMN_WIDTH = 23 , DATE_COLUMN_WIDTH = 120 , TYPE_COLUMN_WIDTH = 113 , AMOUNT_MINIMUM_COLUMN_WIDTH = 120 , MINIMUM_COLUMN_WIDTH = 23 } |
Public Slots | |
void | chooseDate (int idx) |
void | chooseType (int idx) |
void | chooseWatchonly (int idx) |
void | changedAmount () |
void | changedSearch () |
void | exportClicked () |
void | closeOpenedDialogs () |
void | focusTransaction (const QModelIndex &) |
void | focusTransaction (const uint256 &txid) |
Signals | |
void | doubleClicked (const QModelIndex &) |
void | message (const QString &title, const QString &message, unsigned int style) |
Fired when a message should be reported to the user. More... | |
void | bumpedFee (const uint256 &txid) |
Public Member Functions | |
TransactionView (const PlatformStyle *platformStyle, QWidget *parent=nullptr) | |
~TransactionView () | |
void | setModel (WalletModel *model) |
Protected Member Functions | |
void | changeEvent (QEvent *e) override |
Private Slots | |
void | contextualMenu (const QPoint &) |
void | dateRangeChanged () |
void | showDetails () |
void | copyAddress () |
void | editLabel () |
void | copyLabel () |
void | copyAmount () |
void | copyTxID () |
void | copyTxHex () |
void | copyTxPlainText () |
void | openThirdPartyTxUrl (QString url) |
void | updateWatchOnlyColumn (bool fHaveWatchOnly) |
void | abandonTx () |
void | bumpFee (bool checked) |
Private Member Functions | |
QWidget * | createDateRangeWidget () |
bool | eventFilter (QObject *obj, QEvent *event) override |
Private Attributes | |
WalletModel * | model {nullptr} |
TransactionFilterProxy * | transactionProxyModel {nullptr} |
QTableView * | transactionView {nullptr} |
QComboBox * | dateWidget |
QComboBox * | typeWidget |
QComboBox * | watchOnlyWidget |
QLineEdit * | search_widget |
QLineEdit * | amountWidget |
QMenu * | contextMenu |
QFrame * | dateRangeWidget |
QDateTimeEdit * | dateFrom |
QDateTimeEdit * | dateTo |
QAction * | abandonAction {nullptr} |
QAction * | bumpFeeAction {nullptr} |
QAction * | copyAddressAction {nullptr} |
QAction * | copyLabelAction {nullptr} |
const PlatformStyle * | m_platform_style |
QList< TransactionDescDialog * > | m_opened_dialogs |
Widget showing the transaction list for a wallet, including a filter row.
Using the filter row, the user can view or export a subset of the transactions.
Definition at line 33 of file transactionview.h.
Enumerator | |
---|---|
STATUS_COLUMN_WIDTH | |
WATCHONLY_COLUMN_WIDTH | |
DATE_COLUMN_WIDTH | |
TYPE_COLUMN_WIDTH | |
AMOUNT_MINIMUM_COLUMN_WIDTH | |
MINIMUM_COLUMN_WIDTH |
Definition at line 55 of file transactionview.h.
Enumerator | |
---|---|
All | |
Today | |
ThisWeek | |
ThisMonth | |
LastMonth | |
ThisYear | |
Range |
Definition at line 44 of file transactionview.h.
|
explicit |
TransactionView::~TransactionView | ( | ) |
Definition at line 201 of file transactionview.cpp.
|
privateslot |
Definition at line 410 of file transactionview.cpp.
|
signal |
|
privateslot |
Definition at line 425 of file transactionview.cpp.
|
slot |
Definition at line 336 of file transactionview.cpp.
|
slot |
Definition at line 329 of file transactionview.cpp.
|
overrideprotected |
|
slot |
Definition at line 266 of file transactionview.cpp.
|
slot |
Definition at line 313 of file transactionview.cpp.
|
slot |
Definition at line 321 of file transactionview.cpp.
|
slot |
|
privateslot |
Definition at line 390 of file transactionview.cpp.
|
privateslot |
Definition at line 448 of file transactionview.cpp.
|
privateslot |
Definition at line 458 of file transactionview.cpp.
|
privateslot |
Definition at line 453 of file transactionview.cpp.
|
privateslot |
Definition at line 468 of file transactionview.cpp.
|
privateslot |
Definition at line 463 of file transactionview.cpp.
|
privateslot |
Definition at line 473 of file transactionview.cpp.
|
private |
Definition at line 550 of file transactionview.cpp.
|
privateslot |
Definition at line 586 of file transactionview.cpp.
|
signal |
|
privateslot |
Definition at line 478 of file transactionview.cpp.
|
overrideprivate |
|
slot |
Definition at line 350 of file transactionview.cpp.
|
slot |
|
slot |
|
signal |
Fired when a message should be reported to the user.
|
privateslot |
void TransactionView::setModel | ( | WalletModel * | model | ) |
Definition at line 207 of file transactionview.cpp.
|
privateslot |
|
privateslot |
|
private |
Definition at line 83 of file transactionview.h.
|
private |
Definition at line 76 of file transactionview.h.
|
private |
Definition at line 84 of file transactionview.h.
|
private |
Definition at line 78 of file transactionview.h.
|
private |
Definition at line 85 of file transactionview.h.
|
private |
Definition at line 86 of file transactionview.h.
|
private |
Definition at line 81 of file transactionview.h.
|
private |
Definition at line 80 of file transactionview.h.
|
private |
Definition at line 82 of file transactionview.h.
|
private |
Definition at line 72 of file transactionview.h.
|
private |
Definition at line 94 of file transactionview.h.
|
private |
Definition at line 92 of file transactionview.h.
|
private |
Definition at line 68 of file transactionview.h.
|
private |
Definition at line 75 of file transactionview.h.
|
private |
Definition at line 69 of file transactionview.h.
|
private |
Definition at line 70 of file transactionview.h.
|
private |
Definition at line 73 of file transactionview.h.
|
private |
Definition at line 74 of file transactionview.h.