5 #ifndef BITCOIN_QT_TRANSACTIONTABLEMODEL_H 6 #define BITCOIN_QT_TRANSACTIONTABLEMODEL_H 10 #include <QAbstractTableModel> 11 #include <QStringList> 48 TypeRole = Qt::UserRole,
79 int rowCount(
const QModelIndex &parent)
const override;
80 int columnCount(
const QModelIndex &parent)
const override;
81 QVariant data(
const QModelIndex &index,
int role)
const override;
82 QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const override;
83 QModelIndex index(
int row,
int column,
const QModelIndex & parent = QModelIndex())
const override;
95 void subscribeToCoreSignals();
96 void unsubscribeFromCoreSignals();
98 QString lookupAddress(
const std::string &address,
bool tooltip)
const;
112 void updateTransaction(
const QString &hash,
int status,
bool showTransaction);
113 void updateConfirmations();
114 void updateDisplayUnit();
116 void updateAmountColumnTitle();
123 #endif // BITCOIN_QT_TRANSACTIONTABLEMODEL_H Transaction status (TransactionRecord::Status)
WalletModel * walletModel
Transaction data, hex-encoded.
bool fProcessingQueuedTransactions
Long description (HTML format)
TransactionTablePriv * priv
UI model for a transaction.
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.
std::unique_ptr< interfaces::Handler > m_handler_show_progress
RoleIndex
Roles to get specific information from a transaction row.
Net amount of transaction.
void setProcessingQueuedTransactions(bool value)
Interface to Bitcoin wallet from Qt view code.
Label of address related to transaction.
Formatted amount, without brackets when unconfirmed.
bool processingQueuedTransactions() const
const PlatformStyle * platformStyle