StackModel

class StackModel : public QAbstractTableModel

Public Types

enum Column

Values:

enumerator OffsetColumn = 0
enumerator ValueColumn
enumerator DescriptionColumn
enumerator ColumnCount
enum Role

Values:

enumerator StackDescriptionRole = Qt::UserRole

Public Functions

StackModel(QObject *parent = nullptr)
void reload()
int rowCount(const QModelIndex &parent = QModelIndex()) const override
int columnCount(const QModelIndex &parent = QModelIndex()) const override
QVariant data(const QModelIndex &index, int role) const override
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override
bool setData(const QModelIndex &index, const QVariant &value, int role) override
Qt::ItemFlags flags(const QModelIndex &index) const override
struct Item

Public Members

RVA offset
QString value
RefDescription refDesc