|
| TagListModel (QWidget *parent, BinaryViewRef data) |
|
BinaryNinja::TagReference & | GetRef (const QModelIndex &index) |
|
const BinaryNinja::TagReference & | GetRef (const QModelIndex &index) const |
|
void | SetSectionSizeHints (const std::map< int, QSize > &sizes) |
|
TagTypeRef | GetTypeRef (const QModelIndex &index) |
|
const TagTypeRef | GetTypeRef (const QModelIndex &index) const |
|
virtual QModelIndex | index (int row, int col, const QModelIndex &parent) const override |
|
virtual QModelIndex | parent (const QModelIndex &i) const override |
|
virtual bool | hasChildren (const QModelIndex &parent) const override |
|
virtual int | rowCount (const QModelIndex &parent) const override |
|
virtual int | columnCount (const QModelIndex &parent) const override |
|
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
|
virtual QVariant | data (const QModelIndex &i, int role) const override |
|
virtual bool | setData (const QModelIndex &i, const QVariant &value, int role=Qt::EditRole) override |
|
virtual Qt::ItemFlags | flags (const QModelIndex &i) const override |
|
virtual void | sort (int column, Qt::SortOrder order) override |
|
bool | setModelData (const std::vector< std::pair< TagTypeRef, std::vector< BinaryNinja::TagReference > > > &refs, QItemSelectionModel *selectionModel, int sortColumn, Qt::SortOrder sortOrder, bool &selectionUpdated) |
|
◆ TagListModel()
TagListModel::TagListModel |
( |
QWidget * |
parent, |
|
|
BinaryViewRef |
data |
|
) |
| |
◆ columnCount()
virtual int TagListModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
|
overridevirtual |
◆ data()
virtual QVariant TagListModel::data |
( |
const QModelIndex & |
i, |
|
|
int |
role |
|
) |
| const |
|
overridevirtual |
◆ flags()
virtual Qt::ItemFlags TagListModel::flags |
( |
const QModelIndex & |
i | ) |
const |
|
overridevirtual |
◆ GetRef() [1/2]
◆ GetRef() [2/2]
◆ GetTypeRef() [1/2]
TagTypeRef TagListModel::GetTypeRef |
( |
const QModelIndex & |
index | ) |
|
◆ GetTypeRef() [2/2]
const TagTypeRef TagListModel::GetTypeRef |
( |
const QModelIndex & |
index | ) |
const |
◆ hasChildren()
virtual bool TagListModel::hasChildren |
( |
const QModelIndex & |
parent | ) |
const |
|
overridevirtual |
◆ headerData()
virtual QVariant TagListModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
overridevirtual |
◆ index()
virtual QModelIndex TagListModel::index |
( |
int |
row, |
|
|
int |
col, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
|
overridevirtual |
◆ parent()
virtual QModelIndex TagListModel::parent |
( |
const QModelIndex & |
i | ) |
const |
|
overridevirtual |
◆ rowCount()
virtual int TagListModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
|
overridevirtual |
◆ setData()
virtual bool TagListModel::setData |
( |
const QModelIndex & |
i, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
overridevirtual |
◆ setModelData()
bool TagListModel::setModelData |
( |
const std::vector< std::pair< TagTypeRef, std::vector< BinaryNinja::TagReference > > > & |
refs, |
|
|
QItemSelectionModel * |
selectionModel, |
|
|
int |
sortColumn, |
|
|
Qt::SortOrder |
sortOrder, |
|
|
bool & |
selectionUpdated |
|
) |
| |
◆ SetSectionSizeHints()
void TagListModel::SetSectionSizeHints |
( |
const std::map< int, QSize > & |
sizes | ) |
|
|
inline |
◆ sort()
virtual void TagListModel::sort |
( |
int |
column, |
|
|
Qt::SortOrder |
order |
|
) |
| |
|
overridevirtual |
◆ m_data
◆ m_owner
QWidget* TagListModel::m_owner |
|
protected |
◆ m_refs
◆ m_sectionSizeHints
std::map<int, QSize> TagListModel::m_sectionSizeHints |
|
protected |
◆ m_settings
◆ m_typeIndexes
std::map<TagTypeRef, size_t> TagListModel::m_typeIndexes |
|
protected |
The documentation for this class was generated from the following file: