6 #ifndef RAVEN_QT_ASSETTABLEMODEL_H 7 #define RAVEN_QT_ASSETTABLEMODEL_H 11 #include <QAbstractTableModel> 12 #include <QStringList> 49 int rowCount(
const QModelIndex &parent)
const;
51 QVariant
data(
const QModelIndex &
index,
int role)
const;
52 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const;
53 QModelIndex
index(
int row,
int column,
const QModelIndex & parent = QModelIndex())
const;
68 #endif // RAVEN_QT_ASSETTABLEMODEL_H AssetTableModel(WalletModel *parent=0)
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
RoleIndex
Roles to get specific information from a transaction row.
QString formatAssetName(const AssetRecord *wtx) const
QVariant data(const QModelIndex &index, int role) const
QString formatTooltip(const AssetRecord *rec) const
QString formatAssetQuantity(const AssetRecord *wtx) const
void checkBalanceChanged()
QVariant headerData(int section, Qt::Orientation orientation, int role) const
UI model for unspent assets.
WalletModel * walletModel
Models assets portion of wallet as table of owned assets.
int columnCount(const QModelIndex &parent) const
int rowCount(const QModelIndex &parent) const
Interface to Raven wallet from Qt view code.
Formatted amount, without brackets when unconfirmed.
Net amount of transaction.