ResourcesModel

class ResourcesModel

Inherits from AddressableItemModel< QAbstractListModel >

Public Types

enum Columns

Values:

INDEX = 0
NAME
VADDR
TYPE
SIZE
LANG
COUNT

Public Functions

ResourcesModel(QList<ResourcesDescription> *resources, QObject *parent = nullptr)
int rowCount(const QModelIndex &parent = QModelIndex()) const
int columnCount(const QModelIndex &parent = QModelIndex()) const
QVariant data(const QModelIndex &index, int role) const
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const
RVA address(const QModelIndex &index) const