Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
TransactionView Class Reference

Widget showing the transaction list for a wallet, including a filter row. More...

#include <transactionview.h>

Inheritance diagram for TransactionView:
[legend]
Collaboration diagram for TransactionView:
[legend]

Public Types

enum  DateEnum {
  All, Today, ThisWeek, ThisMonth,
  LastMonth, ThisYear, Range
}
 
enum  ColumnWidths {
  STATUS_COLUMN_WIDTH = 30, WATCHONLY_COLUMN_WIDTH = 23, DATE_COLUMN_WIDTH = 130, TYPE_COLUMN_WIDTH = 170,
  AMOUNT_MINIMUM_COLUMN_WIDTH = 170, MINIMUM_COLUMN_WIDTH = 23
}
 

Public Slots

void chooseDate (int idx)
 
void chooseType (int idx)
 
void chooseWatchonly (int idx)
 
void changedAmount ()
 
void changedPrefix ()
 
void exportClicked ()
 
void focusTransaction (const QModelIndex &)
 

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...
 

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 ()
 
void bumpFee ()
 

Private Member Functions

QWidget * createDateRangeWidget ()
 
virtual void resizeEvent (QResizeEvent *event)
 
bool eventFilter (QObject *obj, QEvent *event)
 

Private Attributes

WalletModelmodel
 
TransactionFilterProxytransactionProxyModel
 
QTableView * transactionView
 
QComboBox * dateWidget
 
QComboBox * typeWidget
 
QComboBox * watchOnlyWidget
 
QLineEdit * addressWidget
 
QLineEdit * amountWidget
 
QMenu * contextMenu
 
QSignalMapper * mapperThirdPartyTxUrls
 
QFrame * dateRangeWidget
 
QDateTimeEdit * dateFrom
 
QDateTimeEdit * dateTo
 
QAction * abandonAction
 
QAction * bumpFeeAction
 
GUIUtil::TableViewLastColumnResizingFixercolumnResizingFixer
 

Detailed Description

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 31 of file transactionview.h.

Member Enumeration Documentation

Enumerator
STATUS_COLUMN_WIDTH 
WATCHONLY_COLUMN_WIDTH 
DATE_COLUMN_WIDTH 
TYPE_COLUMN_WIDTH 
AMOUNT_MINIMUM_COLUMN_WIDTH 
MINIMUM_COLUMN_WIDTH 

Definition at line 52 of file transactionview.h.

Enumerator
All 
Today 
ThisWeek 
ThisMonth 
LastMonth 
ThisYear 
Range 

Definition at line 41 of file transactionview.h.

Constructor & Destructor Documentation

TransactionView::TransactionView ( const PlatformStyle platformStyle,
QWidget *  parent = 0 
)
explicit

Definition at line 41 of file transactionview.cpp.

Here is the call graph for this function:

Member Function Documentation

void TransactionView::abandonTx ( )
privateslot

Definition at line 393 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::bumpFee ( )
privateslot

Definition at line 411 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::changedAmount ( )
slot

Definition at line 322 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::changedPrefix ( )
slot

Definition at line 315 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::chooseDate ( int  idx)
slot

Definition at line 251 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::chooseType ( int  idx)
slot

Definition at line 299 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::chooseWatchonly ( int  idx)
slot

Definition at line 307 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::contextualMenu ( const QPoint &  point)
privateslot

Definition at line 374 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::copyAddress ( )
privateslot

Definition at line 429 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::copyAmount ( )
privateslot

Definition at line 439 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::copyLabel ( )
privateslot

Definition at line 434 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::copyTxHex ( )
privateslot

Definition at line 449 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::copyTxID ( )
privateslot

Definition at line 444 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::copyTxPlainText ( )
privateslot

Definition at line 454 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QWidget * TransactionView::createDateRangeWidget ( )
private

Definition at line 527 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::dateRangeChanged ( )
privateslot

Definition at line 563 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::doubleClicked ( const QModelIndex &  _t1)
signal

Definition at line 232 of file moc_transactionview.cpp.

Here is the caller graph for this function:

void TransactionView::editLabel ( )
privateslot

Definition at line 459 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool TransactionView::eventFilter ( QObject *  obj,
QEvent *  event 
)
private

Definition at line 591 of file transactionview.cpp.

Here is the call graph for this function:

void TransactionView::exportClicked ( )
slot

Definition at line 336 of file transactionview.cpp.

Here is the call graph for this function:

void TransactionView::focusTransaction ( const QModelIndex &  idx)
slot

Definition at line 572 of file transactionview.cpp.

void TransactionView::message ( const QString &  title,
const QString &  message,
unsigned int  style 
)
signal

Fired when a message should be reported to the user.

Definition at line 239 of file moc_transactionview.cpp.

Here is the caller graph for this function:

void TransactionView::openThirdPartyTxUrl ( QString  url)
privateslot

Definition at line 518 of file transactionview.cpp.

Here is the caller graph for this function:

void TransactionView::resizeEvent ( QResizeEvent *  event)
privatevirtual

Definition at line 584 of file transactionview.cpp.

Here is the call graph for this function:

void TransactionView::setModel ( WalletModel model)

Definition at line 194 of file transactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TransactionView::showDetails ( )
privateslot

Definition at line 505 of file transactionview.cpp.

Here is the caller graph for this function:

void TransactionView::updateWatchOnlyColumn ( bool  fHaveWatchOnly)
privateslot

Definition at line 606 of file transactionview.cpp.

Here is the caller graph for this function:

Member Data Documentation

QAction* TransactionView::abandonAction
private

Definition at line 78 of file transactionview.h.

QLineEdit* TransactionView::addressWidget
private

Definition at line 69 of file transactionview.h.

QLineEdit* TransactionView::amountWidget
private

Definition at line 70 of file transactionview.h.

QAction* TransactionView::bumpFeeAction
private

Definition at line 79 of file transactionview.h.

GUIUtil::TableViewLastColumnResizingFixer* TransactionView::columnResizingFixer
private

Definition at line 83 of file transactionview.h.

QMenu* TransactionView::contextMenu
private

Definition at line 72 of file transactionview.h.

QDateTimeEdit* TransactionView::dateFrom
private

Definition at line 76 of file transactionview.h.

QFrame* TransactionView::dateRangeWidget
private

Definition at line 75 of file transactionview.h.

QDateTimeEdit* TransactionView::dateTo
private

Definition at line 77 of file transactionview.h.

QComboBox* TransactionView::dateWidget
private

Definition at line 66 of file transactionview.h.

QSignalMapper* TransactionView::mapperThirdPartyTxUrls
private

Definition at line 73 of file transactionview.h.

WalletModel* TransactionView::model
private

Definition at line 62 of file transactionview.h.

TransactionFilterProxy* TransactionView::transactionProxyModel
private

Definition at line 63 of file transactionview.h.

QTableView* TransactionView::transactionView
private

Definition at line 64 of file transactionview.h.

QComboBox* TransactionView::typeWidget
private

Definition at line 67 of file transactionview.h.

QComboBox* TransactionView::watchOnlyWidget
private

Definition at line 68 of file transactionview.h.


The documentation for this class was generated from the following files: