ResourcesModel

class ResourcesModel : public AddressableItemModel<QAbstractListModel>

Public Types

  • enum Columns

    Values:

    • enumerator INDEX

    • enumerator NAME

    • enumerator VADDR

    • enumerator TYPE

    • enumerator SIZE

    • enumerator LANG

    • enumerator COMMENT

    • enumerator COUNT

Public Functions

  • explicit ResourcesModel(QList<ResourcesDescription> *resources, QObject *parent = nullptr)

  • int rowCount(const QModelIndex &parent = QModelIndex()) const override

  • int columnCount(const QModelIndex &parent = QModelIndex()) const override

  • QVariant data(const QModelIndex &index, int role) const override

  • QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override

  • virtual RVA address(const QModelIndex &index) const override