UI model for the transaction table of a wallet.
More...
#include <tokentransactiontablemodel.h>
|
enum | ColumnIndex {
Status = 0,
Date = 1,
Type = 2,
ToAddress = 3,
Name = 4,
Amount = 5
} |
|
enum | RoleIndex {
TypeRole = Qt::UserRole,
DateRole,
LongDescriptionRole,
NameRole,
AddressRole,
LabelRole,
AmountRole,
TxHashRole,
TxHexRole,
TxPlainTextRole,
ConfirmedRole,
FormattedAmountRole,
FormattedAmountWithUnitRole,
StatusRole,
RawDecorationRole
} |
| Roles to get specific information from a transaction row. More...
|
|
UI model for the transaction table of a wallet.
Definition at line 18 of file tokentransactiontablemodel.h.
Roles to get specific information from a transaction row.
These are independent of column.
Enumerator |
---|
TypeRole |
Type of transaction.
|
DateRole |
Date and time this transaction was created.
|
LongDescriptionRole |
Long description (HTML format)
|
NameRole |
Name of the token.
|
AddressRole |
Address of transaction.
|
LabelRole |
Label of address related to transaction.
|
AmountRole |
Net amount of transaction.
|
TxHashRole |
Transaction hash.
|
TxHexRole |
Transaction data, hex-encoded.
|
TxPlainTextRole |
Whole transaction as plain text.
|
ConfirmedRole |
Is transaction confirmed?
|
FormattedAmountRole |
Formatted amount, without brackets when unconfirmed.
|
FormattedAmountWithUnitRole |
Formatted amount, with unit.
|
StatusRole |
Transaction status (TokenTransactionRecord::Status)
|
RawDecorationRole |
Unprocessed icon.
|
Definition at line 38 of file tokentransactiontablemodel.h.
TokenTransactionTableModel::~TokenTransactionTableModel |
( |
| ) |
|
int TokenTransactionTableModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
QVariant TokenTransactionTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
void TokenTransactionTableModel::emitDataChanged |
( |
int |
index | ) |
|
|
slot |
QString TokenTransactionTableModel::formatTxToAddress |
( |
const TokenTransactionRecord * |
wtx, |
|
|
bool |
tooltip |
|
) |
| const |
|
private |
QVariant TokenTransactionTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
QModelIndex TokenTransactionTableModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
QString TokenTransactionTableModel::lookupAddress |
( |
const std::string & |
address, |
|
|
const std::string & |
label, |
|
|
bool |
tooltip |
|
) |
| const |
|
private |
bool TokenTransactionTableModel::processingQueuedTransactions |
( |
| ) |
|
|
inline |
int TokenTransactionTableModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
void TokenTransactionTableModel::setProcessingQueuedTransactions |
( |
bool |
value | ) |
|
|
inlineslot |
void TokenTransactionTableModel::subscribeToCoreSignals |
( |
| ) |
|
|
private |
void TokenTransactionTableModel::unsubscribeFromCoreSignals |
( |
| ) |
|
|
private |
void TokenTransactionTableModel::updateConfirmations |
( |
| ) |
|
|
slot |
void TokenTransactionTableModel::updateTransaction |
( |
const QString & |
hash, |
|
|
int |
status, |
|
|
bool |
showTransaction |
|
) |
| |
|
slot |
QStringList TokenTransactionTableModel::columns |
|
private |
bool TokenTransactionTableModel::fProcessingQueuedTransactions |
|
private |
CWallet* TokenTransactionTableModel::wallet |
|
private |
The documentation for this class was generated from the following files: