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

#include <tokentransactionview.h>

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

Public Types

enum  DateEnum {
  All, Today, ThisWeek, ThisMonth,
  LastMonth, ThisYear, Range
}
 
enum  ColumnWidths {
  STATUS_COLUMN_WIDTH = 30, DATE_COLUMN_WIDTH = 130, TYPE_COLUMN_WIDTH = 150, NAME_COLUMN_WIDTH = 100,
  AMOUNT_COLUMN_WIDTH = 230, AMOUNT_MINIMUM_COLUMN_WIDTH = 160, MINIMUM_COLUMN_WIDTH = 23
}
 

Public Slots

void chooseDate (int idx)
 
void chooseType (int idx)
 
void chooseName (int idx)
 
void changedPrefix (const QString &prefix)
 
void changedAmount (const QString &amount)
 
void addToNameWidget (const QModelIndex &parent, int start, int)
 
void removeFromNameWidget (const QModelIndex &parent, int start, int)
 
void refreshNameWidget ()
 

Public Member Functions

 TokenTransactionView (const PlatformStyle *platformStyle, QWidget *parent=0)
 
void setModel (WalletModel *model)
 

Private Slots

void contextualMenu (const QPoint &)
 
void dateRangeChanged ()
 
void showDetails ()
 
void copyAddress ()
 
void copyAmount ()
 
void copyTxID ()
 
void copyTxPlainText ()
 

Private Member Functions

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

Private Attributes

WalletModelmodel
 
TokenFilterProxytokenProxyModel
 
QTableView * tokenView
 
QComboBox * dateWidget
 
QComboBox * typeWidget
 
QComboBox * nameWidget
 
QLineEdit * addressWidget
 
QLineEdit * amountWidget
 
QMenu * contextMenu
 
QFrame * dateRangeWidget
 
QDateTimeEdit * dateFrom
 
QDateTimeEdit * dateTo
 
GUIUtil::TableViewLastColumnResizingFixercolumnResizingFixer
 

Detailed Description

Definition at line 21 of file tokentransactionview.h.

Member Enumeration Documentation

Enumerator
STATUS_COLUMN_WIDTH 
DATE_COLUMN_WIDTH 
TYPE_COLUMN_WIDTH 
NAME_COLUMN_WIDTH 
AMOUNT_COLUMN_WIDTH 
AMOUNT_MINIMUM_COLUMN_WIDTH 
MINIMUM_COLUMN_WIDTH 

Definition at line 41 of file tokentransactionview.h.

Enumerator
All 
Today 
ThisWeek 
ThisMonth 
LastMonth 
ThisYear 
Range 

Definition at line 30 of file tokentransactionview.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file tokentransactionview.cpp.

Here is the call graph for this function:

Member Function Documentation

void TokenTransactionView::addToNameWidget ( const QModelIndex &  parent,
int  start,
int   
)
slot

Definition at line 231 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::changedAmount ( const QString &  amount)
slot

Definition at line 411 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::changedPrefix ( const QString &  prefix)
slot

Definition at line 404 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::chooseDate ( int  idx)
slot

Definition at line 340 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::chooseName ( int  idx)
slot

Definition at line 396 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::chooseType ( int  idx)
slot

Definition at line 388 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 285 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::copyAddress ( )
privateslot

Definition at line 320 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::copyAmount ( )
privateslot

Definition at line 325 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::copyTxID ( )
privateslot

Definition at line 330 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::copyTxPlainText ( )
privateslot

Definition at line 335 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QWidget * TokenTransactionView::createDateRangeWidget ( )
private

Definition at line 181 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::dateRangeChanged ( )
privateslot

Definition at line 298 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 271 of file tokentransactionview.cpp.

Here is the call graph for this function:

void TokenTransactionView::refreshNameWidget ( )
slot

Definition at line 217 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::removeFromNameWidget ( const QModelIndex &  parent,
int  start,
int   
)
slot

Definition at line 242 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::resizeEvent ( QResizeEvent *  event)
privatevirtual

Definition at line 265 of file tokentransactionview.cpp.

Here is the call graph for this function:

void TokenTransactionView::setModel ( WalletModel model)

Definition at line 145 of file tokentransactionview.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TokenTransactionView::showDetails ( )
privateslot

Definition at line 307 of file tokentransactionview.cpp.

Here is the caller graph for this function:

Member Data Documentation

QLineEdit* TokenTransactionView::addressWidget
private

Definition at line 59 of file tokentransactionview.h.

QLineEdit* TokenTransactionView::amountWidget
private

Definition at line 60 of file tokentransactionview.h.

GUIUtil::TableViewLastColumnResizingFixer* TokenTransactionView::columnResizingFixer
private

Definition at line 70 of file tokentransactionview.h.

QMenu* TokenTransactionView::contextMenu
private

Definition at line 62 of file tokentransactionview.h.

QDateTimeEdit* TokenTransactionView::dateFrom
private

Definition at line 65 of file tokentransactionview.h.

QFrame* TokenTransactionView::dateRangeWidget
private

Definition at line 64 of file tokentransactionview.h.

QDateTimeEdit* TokenTransactionView::dateTo
private

Definition at line 66 of file tokentransactionview.h.

QComboBox* TokenTransactionView::dateWidget
private

Definition at line 56 of file tokentransactionview.h.

WalletModel* TokenTransactionView::model
private

Definition at line 52 of file tokentransactionview.h.

QComboBox* TokenTransactionView::nameWidget
private

Definition at line 58 of file tokentransactionview.h.

TokenFilterProxy* TokenTransactionView::tokenProxyModel
private

Definition at line 53 of file tokentransactionview.h.

QTableView* TokenTransactionView::tokenView
private

Definition at line 54 of file tokentransactionview.h.

QComboBox* TokenTransactionView::typeWidget
private

Definition at line 57 of file tokentransactionview.h.


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