MemoryMapModel

class MemoryMapModel

Inherits from AddressableItemModel< QAbstractListModel >

Public Types

enum Column

Values:

AddrStartColumn = 0
AddrEndColumn
NameColumn
PermColumn
ColumnCount
enum Role

Values:

MemoryDescriptionRole = Qt::UserRole

Public Functions

MemoryMapModel(QList<MemoryMapDescription> *memoryMaps, 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