Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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:
Inheritance graph
[legend]
Collaboration diagram for TransactionView:
Collaboration graph
[legend]

Public Types

enum  DateEnum {
  All, Today, ThisWeek, ThisMonth,
  LastMonth, ThisYear, Range
}
 

Public Slots

void chooseDate (int idx)
 
void chooseType (int idx)
 
void changedPrefix (const QString &prefix)
 
void changedAmount (const QString &amount)
 
void exportClicked ()
 
void focusTransaction (const QModelIndex &)
 

Signals

void doubleClicked (const QModelIndex &)
 

Public Member Functions

 TransactionView (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 ()
 

Private Member Functions

QWidget * createDateRangeWidget ()
 

Private Attributes

WalletModelmodel
 
TransactionFilterProxytransactionProxyModel
 
QTableView * transactionView
 
QComboBox * dateWidget
 
QComboBox * typeWidget
 
QLineEdit * addressWidget
 
QLineEdit * amountWidget
 
QMenu * contextMenu
 
QFrame * dateRangeWidget
 
QDateTimeEdit * dateFrom
 
QDateTimeEdit * dateTo
 

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

Member Enumeration Documentation

Enumerator
All 
Today 
ThisWeek 
ThisMonth 
LastMonth 
ThisYear 
Range 

Definition at line 32 of file transactionview.h.

Constructor & Destructor Documentation

TransactionView::TransactionView ( QWidget *  parent = 0)
explicit

Definition at line 29 of file transactionview.cpp.

Member Function Documentation

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

Definition at line 251 of file transactionview.cpp.

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

Definition at line 244 of file transactionview.cpp.

void TransactionView::chooseDate ( int  idx)
slot

Definition at line 188 of file transactionview.cpp.

void TransactionView::chooseType ( int  idx)
slot

Definition at line 236 of file transactionview.cpp.

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

Definition at line 295 of file transactionview.cpp.

void TransactionView::copyAddress ( )
privateslot

Definition at line 304 of file transactionview.cpp.

void TransactionView::copyAmount ( )
privateslot

Definition at line 314 of file transactionview.cpp.

void TransactionView::copyLabel ( )
privateslot

Definition at line 309 of file transactionview.cpp.

void TransactionView::copyTxID ( )
privateslot

Definition at line 319 of file transactionview.cpp.

QWidget * TransactionView::createDateRangeWidget ( )
private

Definition at line 382 of file transactionview.cpp.

void TransactionView::dateRangeChanged ( )
privateslot

Definition at line 418 of file transactionview.cpp.

void TransactionView::doubleClicked ( const QModelIndex &  )
signal
void TransactionView::editLabel ( )
privateslot

Definition at line 324 of file transactionview.cpp.

void TransactionView::exportClicked ( )
slot

Definition at line 266 of file transactionview.cpp.

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

Definition at line 427 of file transactionview.cpp.

void TransactionView::setModel ( WalletModel model)

Definition at line 155 of file transactionview.cpp.

void TransactionView::showDetails ( )
privateslot

Definition at line 370 of file transactionview.cpp.

Member Data Documentation

QLineEdit* TransactionView::addressWidget
private

Definition at line 50 of file transactionview.h.

QLineEdit* TransactionView::amountWidget
private

Definition at line 51 of file transactionview.h.

QMenu* TransactionView::contextMenu
private

Definition at line 53 of file transactionview.h.

QDateTimeEdit* TransactionView::dateFrom
private

Definition at line 56 of file transactionview.h.

QFrame* TransactionView::dateRangeWidget
private

Definition at line 55 of file transactionview.h.

QDateTimeEdit* TransactionView::dateTo
private

Definition at line 57 of file transactionview.h.

QComboBox* TransactionView::dateWidget
private

Definition at line 48 of file transactionview.h.

WalletModel* TransactionView::model
private

Definition at line 44 of file transactionview.h.

TransactionFilterProxy* TransactionView::transactionProxyModel
private

Definition at line 45 of file transactionview.h.

QTableView* TransactionView::transactionView
private

Definition at line 46 of file transactionview.h.

QComboBox* TransactionView::typeWidget
private

Definition at line 49 of file transactionview.h.


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