StringsModel

class StringsModel

Inherits from AddressableItemModel< QAbstractListModel >

Public Types

enum Column

Values:

OffsetColumn = 0
StringColumn
TypeColumn
LengthColumn
SizeColumn
SectionColumn
ColumnCount

Public Functions

StringsModel(QList<StringDescription> *strings, 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

Public Static Attributes

const int StringDescriptionRole = Qt::UserRole