Poppler::OptContentModel Class Reference
Model for optional content.
More...
#include <poppler-optcontent.h>
List of all members.
Public Member Functions |
|
int | columnCount (const QModelIndex &parent) const |
|
QVariant | data (const QModelIndex &index, int role) const |
|
Qt::ItemFlags | flags (const QModelIndex &index) const |
|
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
QModelIndex | index (int row, int column, const QModelIndex &parent) const |
|
QModelIndex | parent (const QModelIndex &child) const |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
Detailed Description
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.
- Since:
- 0.8
The documentation for this class was generated from the following file: