StackModel

class StackModel

Inherits from QAbstractTableModel

Public Types

enum Column

Values:

OffsetColumn = 0
ValueColumn
DescriptionColumn
ColumnCount
enum Role

Values:

StackDescriptionRole = Qt::UserRole

Public Functions

StackModel(QObject *parent = nullptr)
void reload()
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
bool setData(const QModelIndex &index, const QVariant &value, int role)
Qt::ItemFlags flags(const QModelIndex &index) const
struct Item

Public Members

RVA offset
QString value
QString description
QVariant descriptionColor