Changeset View
Changeset View
Standalone View
Standalone View
src/qt/transactiontablemodel.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | enum RoleIndex { | ||||
/** Formatted amount, without brackets when unconfirmed */ | /** Formatted amount, without brackets when unconfirmed */ | ||||
FormattedAmountRole, | FormattedAmountRole, | ||||
/** Transaction status (TransactionRecord::Status) */ | /** Transaction status (TransactionRecord::Status) */ | ||||
StatusRole, | StatusRole, | ||||
/** Unprocessed icon */ | /** Unprocessed icon */ | ||||
RawDecorationRole, | RawDecorationRole, | ||||
}; | }; | ||||
int rowCount(const QModelIndex &parent) const; | int rowCount(const QModelIndex &parent) const override; | ||||
int columnCount(const QModelIndex &parent) const; | int columnCount(const QModelIndex &parent) const override; | ||||
QVariant data(const QModelIndex &index, int role) const; | QVariant data(const QModelIndex &index, int role) const override; | ||||
QVariant headerData(int section, Qt::Orientation orientation, | QVariant headerData(int section, Qt::Orientation orientation, | ||||
int role) const; | int role) const override; | ||||
QModelIndex index(int row, int column, | QModelIndex index(int row, int column, | ||||
const QModelIndex &parent = QModelIndex()) const; | const QModelIndex &parent = QModelIndex()) const override; | ||||
bool processingQueuedTransactions() { | bool processingQueuedTransactions() { | ||||
return fProcessingQueuedTransactions; | return fProcessingQueuedTransactions; | ||||
} | } | ||||
private: | private: | ||||
CWallet *wallet; | CWallet *wallet; | ||||
WalletModel *walletModel; | WalletModel *walletModel; | ||||
QStringList columns; | QStringList columns; | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |