15 #ifndef QGSGEOPDFLAYERTREEMODEL_H 
   16 #define QGSGEOPDFLAYERTREEMODEL_H 
   21 #include <QSortFilterProxyModel> 
   22 #include <QItemDelegate> 
   51       IncludeVectorAttributes 
 
   57     int columnCount( 
const QModelIndex &parent ) 
const override;
 
   58     QVariant headerData( 
int section, Qt::Orientation orientation, 
int role ) 
const override;
 
   59     Qt::ItemFlags 
flags( 
const QModelIndex &idx ) 
const override;
 
   60     QVariant 
data( 
const QModelIndex &index, 
int role ) 
const override;
 
   61     bool setData( 
const QModelIndex &index, 
const QVariant &value, 
int role ) 
override;
 
   66     void checkAll( 
bool checked, 
const QModelIndex &parent = QModelIndex(), 
int column = IncludeVectorAttributes );
 
   70     QgsMapLayer *mapLayer( 
const QModelIndex &idx ) 
const;
 
   76 class GUI_EXPORT QgsGeoPdfLayerFilteredTreeModel : 
public QSortFilterProxyModel
 
   82     bool filterAcceptsRow( 
int source_row, 
const QModelIndex &source_parent ) 
const override;
 
   89 #endif // QGSGEOPDFLAYERTREEMODEL_H