XrefModel

class XrefModel : public AddressableItemModel<QAbstractListModel>

Public Types

enum Columns

Values:

enumerator OFFSET
enumerator TYPE
enumerator CODE
enumerator COMMENT
enumerator COUNT

Public Functions

XrefModel(QObject *parent = nullptr)
void readForOffset(RVA offset, bool to, bool whole_function)
void readForVariable(QString nameOfVariable, bool write, RVA offset)
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
virtual RVA address(const QModelIndex &index) const override

Public Static Functions

static QString xrefTypeString(const QString &type)

Public Static Attributes

static const int FlagDescriptionRole = Qt::UserRole