Poppler Qt5 24.12.0
|
#include <poppler-optcontent.h>
Public Member Functions | |
void | applyLink (LinkOCGState *link) |
int | columnCount (const QModelIndex &parent) const override |
QVariant | data (const QModelIndex &index, int role) const override |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
QModelIndex | index (int row, int column, const QModelIndex &parent) const override |
QModelIndex | parent (const QModelIndex &child) const override |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
Model for optional content.
OptContentModel is an item model representing the optional content items that can be found in PDF documents.
The model offers a mostly read-only display of the data, allowing to enable/disable some contents setting the Qt::CheckStateRole data role.
void Poppler::OptContentModel::applyLink | ( | LinkOCGState * | link | ) |
Applies the Optional Content Changes specified by that link.