SegmentsModel

class SegmentsModel

Public Types

enum Column

Values:

NameColumn = 0
SizeColumn
AddressColumn
EndAddressColumn
PermColumn
ColumnCount
enum Role

Values:

SegmentDescriptionRole = Qt::UserRole

Public Functions

SegmentsModel(QList<SegmentDescription> *segments, 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 segment, Qt::Orientation orientation, int role) const