HeadersModel

class HeadersModel

Public Types

enum Column

Values:

OffsetColumn = 0
NameColumn
ValueColumn
ColumnCount
enum Role

Values:

HeaderDescriptionRole = Qt::UserRole

Public Functions

HeadersModel(QList<HeaderDescription> *headers, 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