15#ifndef QGSGEOPDFLAYERTREEMODEL_H
16#define QGSGEOPDFLAYERTREEMODEL_H
21#include <QSortFilterProxyModel>
22#include <QItemDelegate>
50 IncludeVectorAttributes
56 int columnCount(
const QModelIndex &parent )
const override;
57 QVariant headerData(
int section, Qt::Orientation orientation,
int role )
const override;
58 Qt::ItemFlags
flags(
const QModelIndex &idx )
const override;
59 QVariant
data(
const QModelIndex &index,
int role )
const override;
60 bool setData(
const QModelIndex &index,
const QVariant &value,
int role )
override;
65 void checkAll(
bool checked,
const QModelIndex &parent = QModelIndex(),
int column = IncludeVectorAttributes );
68 QgsMapLayer *mapLayer(
const QModelIndex &idx )
const;
74class GUI_EXPORT QgsGeospatialPdfLayerFilteredTreeModel :
public QSortFilterProxyModel
80 bool filterAcceptsRow(
int source_row,
const QModelIndex &source_parent )
const override;
Layer tree model for Geo-PDF layers.
@ InitiallyVisible
Initial visibility state.
Map canvas is a class for displaying all GIS data types on a canvas.
The QgsMapLayerModel class is a model to display layers in widgets.
Qt::ItemFlags flags(const QModelIndex &index) const override
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
int columnCount(const QModelIndex &parent=QModelIndex()) const override
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
void checkAll(Qt::CheckState checkState)
checkAll changes the checkstate for all the layers
Base class for all map layer types.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Represents a vector layer which manages a vector based data sets.