FunctionModel¶
-
class
FunctionModel: public AddressableItemModel<>¶ Public Types
Public Functions
-
FunctionModel(QList<FunctionDescription> *functions, QSet<RVA> *importAddresses, ut64 *mainAdress, bool nested, QFont defaultFont, QFont highlightFont, QObject *parent = nullptr)¶
-
QModelIndex
index(int row, int column, const QModelIndex &parent = QModelIndex()) const¶
-
QModelIndex
parent(const QModelIndex &index) const¶
-
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
updateCurrentIndex()¶ - Return
true if the index changed
-
void
setNested(bool nested)¶
-
bool
isNested()¶
-
RVA
address(const QModelIndex &index) const¶
-
QString
name(const QModelIndex &index) const¶ Get name for item, optional.
- Return
Item name or empty QString if item doesn’t have short descriptive name.
- Parameters
index: item intex
-