MemoryMapModel

class MemoryMapModel : public AddressableItemModel<QAbstractListModel>

Public Types

enum Column

Values:

enumerator AddrStartColumn = 0
enumerator AddrEndColumn
enumerator NameColumn
enumerator PermColumn
enumerator ColumnCount
enum Role

Values:

enumerator MemoryDescriptionRole = Qt::UserRole

Public Functions

MemoryMapModel(QList<MemoryMapDescription> *memoryMaps, 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
RVA address(const QModelIndex &index) const override