5 #ifndef BITCOIN_QT_TRANSACTIONTABLEMODEL_H     6 #define BITCOIN_QT_TRANSACTIONTABLEMODEL_H    10 #include <QAbstractTableModel>    11 #include <QStringList>    79     int rowCount(
const QModelIndex &parent) 
const;
    81     QVariant 
data(
const QModelIndex &
index, 
int role) 
const;
    82     QVariant 
headerData(
int section, Qt::Orientation orientation, 
int role) 
const;
    83     QModelIndex 
index(
int row, 
int column, 
const QModelIndex & parent = QModelIndex()) 
const;
    98     QString 
lookupAddress(
const std::string &address, 
bool tooltip) 
const;
   123 #endif // BITCOIN_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 formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true, BitcoinUnits::SeparatorStyle separators=BitcoinUnits::separatorStandard) const
 
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
 
TransactionTableModel(const PlatformStyle *platformStyle, WalletModel *parent=0)
 
Transaction data, hex-encoded. 
 
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. 
 
std::unique_ptr< interfaces::Handler > m_handler_transaction_changed
 
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()
 
std::unique_ptr< interfaces::Handler > m_handler_show_progress
 
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 Bitcoin 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
 
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