SectionsModel

class SectionsModel

Public Types

enum Column

Values:

NameColumn = 0
SizeColumn
AddressColumn
EndAddressColumn
PermissionsColumn
EntropyColumn
ColumnCount
enum Role

Values:

SectionDescriptionRole = Qt::UserRole

Public Functions

SectionsModel(QList<SectionDescription> *sections, QObject *parent)
int rowCount(const QModelIndex &parent) const
int columnCount(const QModelIndex &parent) const
QVariant data(const QModelIndex &index, int role) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const