CommentsModel¶
-
class
CommentsModel
: public AddressableItemModel<>¶ Public Types
-
enum
Column
¶ Values:
-
enumerator
OffsetColumn
= 0¶
-
enumerator
FunctionColumn
¶
-
enumerator
CommentColumn
¶
-
enumerator
ColumnCount
¶
-
enumerator
Public Functions
-
CommentsModel
(QList<CommentDescription> *comments, QList<CommentGroup> *nestedComments, QObject *parent = nullptr)¶
-
QModelIndex
index
(int row, int column, const QModelIndex &parent = QModelIndex()) const override¶
-
QModelIndex
parent
(const QModelIndex &index) const override¶
-
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
isNested
() const¶
-
void
setNested
(bool nested)¶
-
RVA
address
(const QModelIndex &index) const override¶
-
enum