6 #ifndef RAVEN_QT_TRANSACTIONTABLEMODEL_H 7 #define RAVEN_QT_TRANSACTIONTABLEMODEL_H 11 #include <QAbstractTableModel> 12 #include <QStringList> 81 int rowCount(
const QModelIndex &parent)
const;
83 QVariant
data(
const QModelIndex &
index,
int role)
const;
84 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const;
85 QModelIndex
index(
int row,
int column,
const QModelIndex & parent = QModelIndex())
const;
99 QString
lookupAddress(
const std::string &address,
bool tooltip)
const;
124 #endif // RAVEN_QT_TRANSACTIONTABLEMODEL_H void updateAmountColumnTitle()
Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table hea...
QVariant txWatchonlyDecoration(const TransactionRecord *wtx) const
Transaction status (TransactionRecord::Status)
QString formatTooltip(const TransactionRecord *rec) const
WalletModel * walletModel
void updateTransaction(const QString &hash, int status, bool showTransaction)
void unsubscribeFromCoreSignals()
QVariant txStatusDecoration(const TransactionRecord *wtx) const
QString formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true, RavenUnits::SeparatorStyle separators=RavenUnits::separatorStandard) const
Transaction data, hex-encoded.
TransactionTableModel(const PlatformStyle *platformStyle, CWallet *wallet, WalletModel *parent=0)
bool fProcessingQueuedTransactions
Long description (HTML format)
TransactionTablePriv * priv
bool processingQueuedTransactions() const
UI model for a transaction.
QString formatTxType(const TransactionRecord *wtx) const
Whole transaction as plain text.
Is transaction confirmed?
Date and time this transaction was created.
UI model for the transaction table of a wallet.
QString lookupAddress(const std::string &address, bool tooltip) const
void subscribeToCoreSignals()
RoleIndex
Roles to get specific information from a transaction row.
QVariant data(const QModelIndex &index, int role) const
Net amount of transaction.
void setProcessingQueuedTransactions(bool value)
QString formatTxToAddress(const TransactionRecord *wtx, bool tooltip) const
Interface to Raven wallet from Qt view code.
int columnCount(const QModelIndex &parent) const
int rowCount(const QModelIndex &parent) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Label of address related to transaction.
QString formatTxStatus(const TransactionRecord *wtx) const
QVariant addressColor(const TransactionRecord *wtx) const
QVariant txAddressDecoration(const TransactionRecord *wtx) const
Formatted amount, without brackets when unconfirmed.
void updateConfirmations()
const PlatformStyle * platformStyle
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
QString formatTxDate(const TransactionRecord *wtx) const