![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#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 = 240, AMOUNT_MINIMUM_COLUMN_WIDTH = 120, MINIMUM_COLUMN_WIDTH = 23 } |
Public Slots | |
void | chooseDate (int idx) |
void | chooseType (int idx) |
void | chooseWatchonly (int idx) |
void | changedPrefix (const QString &prefix) |
void | changedAmount (const QString &amount) |
void | exportClicked () |
void | focusTransaction (const QModelIndex &) |
void | computeSum () |
Signals | |
void | doubleClicked (const QModelIndex &) |
void | message (const QString &title, const QString &message, unsigned int style) |
void | trxAmount (QString amount) |
Public Member Functions | |
TransactionView (const PlatformStyle *platformStyle, QWidget *parent=0) | |
void | setModel (WalletModel *model) |
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 () |
Private Member Functions | |
QWidget * | createDateRangeWidget () |
virtual void | resizeEvent (QResizeEvent *event) |
bool | eventFilter (QObject *obj, QEvent *event) |
Private Attributes | |
WalletModel * | model |
TransactionFilterProxy * | transactionProxyModel |
QTableView * | transactionView |
QComboBox * | dateWidget |
QComboBox * | typeWidget |
QComboBox * | watchOnlyWidget |
QLineEdit * | addressWidget |
QLineEdit * | amountWidget |
QMenu * | contextMenu |
QSignalMapper * | mapperThirdPartyTxUrls |
QFrame * | dateRangeWidget |
QDateTimeEdit * | dateFrom |
QDateTimeEdit * | dateTo |
QAction * | abandonAction |
GUIUtil::TableViewLastColumnResizingFixer * | columnResizingFixer |
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 32 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 53 of file transactionview.h.
Enumerator | |
---|---|
All | |
Today | |
ThisWeek | |
ThisMonth | |
LastMonth | |
ThisYear | |
Range |
Definition at line 42 of file transactionview.h.
|
explicit |
Definition at line 42 of file transactionview.cpp.
|
privateslot |
Definition at line 419 of file transactionview.cpp.
Referenced by TransactionView().
|
slot |
Definition at line 349 of file transactionview.cpp.
Referenced by TransactionView().
|
slot |
Definition at line 342 of file transactionview.cpp.
Referenced by TransactionView().
|
slot |
Definition at line 267 of file transactionview.cpp.
Referenced by setModel(), and TransactionView().
|
slot |
Definition at line 323 of file transactionview.cpp.
Referenced by setModel(), and TransactionView().
|
slot |
Definition at line 334 of file transactionview.cpp.
Referenced by TransactionView().
|
slot |
Compute sum of all selected transactions
Definition at line 526 of file transactionview.cpp.
Referenced by focusTransaction(), setModel(), and TransactionView().
|
privateslot |
Definition at line 403 of file transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 437 of file transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 447 of file transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 442 of file transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 457 of file transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 452 of file transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 462 of file transactionview.cpp.
Referenced by TransactionView().
|
private |
Definition at line 551 of file transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 594 of file transactionview.cpp.
Referenced by chooseDate(), and createDateRangeWidget().
|
signal |
Definition at line 245 of file moc_transactionview.cpp.
Referenced by TransactionView().
|
privateslot |
Definition at line 467 of file transactionview.cpp.
Referenced by TransactionView().
|
private |
Definition at line 630 of file transactionview.cpp.
|
slot |
Definition at line 369 of file transactionview.cpp.
|
slot |
Definition at line 609 of file transactionview.cpp.
|
signal |
Fired when a message should be reported to the user
Definition at line 252 of file moc_transactionview.cpp.
Referenced by exportClicked().
|
privateslot |
Definition at line 542 of file transactionview.cpp.
Referenced by TransactionView().
|
privatevirtual |
Definition at line 623 of file transactionview.cpp.
void TransactionView::setModel | ( | WalletModel * | model | ) |
Definition at line 202 of file transactionview.cpp.
Referenced by WalletView::setWalletModel().
|
privateslot |
Definition at line 513 of file transactionview.cpp.
Referenced by TransactionView().
|
signal |
Send computed sum back to wallet-view
Definition at line 259 of file moc_transactionview.cpp.
Referenced by computeSum().
|
privateslot |
Definition at line 645 of file transactionview.cpp.
Referenced by setModel().
|
private |
Definition at line 78 of file transactionview.h.
Referenced by contextualMenu(), and TransactionView().
|
private |
Definition at line 69 of file transactionview.h.
Referenced by TransactionView().
|
private |
Definition at line 70 of file transactionview.h.
Referenced by TransactionView().
|
private |
Definition at line 82 of file transactionview.h.
Referenced by resizeEvent(), and setModel().
|
private |
Definition at line 72 of file transactionview.h.
Referenced by contextualMenu(), setModel(), and TransactionView().
|
private |
Definition at line 76 of file transactionview.h.
Referenced by chooseDate(), createDateRangeWidget(), and dateRangeChanged().
|
private |
Definition at line 75 of file transactionview.h.
Referenced by chooseDate(), and createDateRangeWidget().
|
private |
Definition at line 77 of file transactionview.h.
Referenced by chooseDate(), createDateRangeWidget(), and dateRangeChanged().
|
private |
Definition at line 66 of file transactionview.h.
Referenced by chooseDate(), and TransactionView().
|
private |
Definition at line 73 of file transactionview.h.
Referenced by setModel(), and TransactionView().
|
private |
Definition at line 63 of file transactionview.h.
Referenced by abandonTx(), changedAmount(), computeSum(), contextualMenu(), editLabel(), exportClicked(), and setModel().
|
private |
Definition at line 64 of file transactionview.h.
Referenced by changedAmount(), changedPrefix(), chooseDate(), chooseType(), chooseWatchonly(), dateRangeChanged(), exportClicked(), focusTransaction(), and setModel().
|
private |
Definition at line 65 of file transactionview.h.
Referenced by abandonTx(), computeSum(), contextualMenu(), copyAddress(), copyAmount(), copyLabel(), copyTxHex(), copyTxID(), copyTxPlainText(), editLabel(), eventFilter(), focusTransaction(), openThirdPartyTxUrl(), setModel(), showDetails(), TransactionView(), and updateWatchOnlyColumn().
|
private |
Definition at line 67 of file transactionview.h.
Referenced by chooseType(), and TransactionView().
|
private |
Definition at line 68 of file transactionview.h.
Referenced by chooseWatchonly(), TransactionView(), and updateWatchOnlyColumn().