Public Member Functions | |
SectionModel (BinaryViewRef data, QObject *parent=nullptr) | |
~SectionModel () | |
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
QModelIndex | parent (const QModelIndex &child) const override |
bool | hasChildren (const QModelIndex &) const override |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
void | updateSections (std::vector< SectionRef > &§ions) |
SectionModel::SectionModel | ( | BinaryViewRef | data, |
QObject * | parent = nullptr ) |
SectionModel::~SectionModel | ( | ) |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
void SectionModel::updateSections | ( | std::vector< SectionRef > && | sections | ) |