Models assets portion of wallet as table of owned assets.
More...
#include <assettablemodel.h>
Models assets portion of wallet as table of owned assets.
Definition at line 22 of file assettablemodel.h.
◆ ColumnIndex
◆ RoleIndex
Roles to get specific information from a transaction row.
These are independent of column.
| Enumerator |
|---|
| AmountRole | Net amount of transaction.
|
| AssetNameRole | RVN or name of an asset.
|
| FormattedAmountRole | Formatted amount, without brackets when unconfirmed.
|
| AdministratorRole | AdministratorRole.
|
Definition at line 38 of file assettablemodel.h.
◆ AssetTableModel()
| AssetTableModel::AssetTableModel |
( |
WalletModel * |
parent = 0 | ) |
|
|
explicit |
◆ ~AssetTableModel()
| AssetTableModel::~AssetTableModel |
( |
| ) |
|
◆ checkBalanceChanged()
| void AssetTableModel::checkBalanceChanged |
( |
| ) |
|
◆ columnCount()
| int AssetTableModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
◆ data()
| QVariant AssetTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
◆ formatAssetName()
| QString AssetTableModel::formatAssetName |
( |
const AssetRecord * |
wtx | ) |
const |
◆ formatAssetQuantity()
| QString AssetTableModel::formatAssetQuantity |
( |
const AssetRecord * |
wtx | ) |
const |
◆ formatTooltip()
| QString AssetTableModel::formatTooltip |
( |
const AssetRecord * |
rec | ) |
const |
◆ headerData()
| QVariant AssetTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
◆ index()
| QModelIndex AssetTableModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
◆ rowCount()
| int AssetTableModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
◆ AssetTablePriv
◆ columns
| QStringList AssetTableModel::columns |
|
private |
◆ priv
◆ walletModel
The documentation for this class was generated from the following files: