XrefModel

class XrefModel : public AddressableItemModel<QAbstractListModel>

Public Types

enum Columns

Values:

OFFSET = 0
TYPE
CODE
COMMENT
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
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 Functions

QString xrefTypeString(const QString &type)

Public Static Attributes

const int FlagDescriptionRole = Qt::UserRole