QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
QSortFilterProxyModel subclass for QgsLayoutManagerModel. More...
#include <qgslayoutmanager.h>
Public Types | |
enum | Filter { FilterPrintLayouts = 1 << 1, FilterReports = 1 << 2 } |
Available filter flags for filtering the model. More... | |
Public Member Functions | |
QgsLayoutManagerProxyModel (QObject *parent=nullptr) | |
Constructor for QgsLayoutManagerProxyModel. More... | |
bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override |
QgsLayoutManagerProxyModel::Filters | filters () const |
Returns the current filters used for filtering available layouts. More... | |
bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
void | setFilters (QgsLayoutManagerProxyModel::Filters filters) |
Sets the current filters used for filtering available layouts. More... | |
QSortFilterProxyModel subclass for QgsLayoutManagerModel.
Definition at line 226 of file qgslayoutmanager.h.
Available filter flags for filtering the model.
Enumerator | |
---|---|
FilterPrintLayouts | Includes print layouts. |
FilterReports | Includes reports. |
Definition at line 233 of file qgslayoutmanager.h.
|
explicit |
Constructor for QgsLayoutManagerProxyModel.
Definition at line 513 of file qgslayoutmanager.cpp.
|
override |
Definition at line 533 of file qgslayoutmanager.cpp.
QgsLayoutManagerProxyModel::Filters QgsLayoutManagerProxyModel::filters | ( | ) | const |
Returns the current filters used for filtering available layouts.
Definition at line 553 of file qgslayoutmanager.cpp.
|
override |
Definition at line 521 of file qgslayoutmanager.cpp.
void QgsLayoutManagerProxyModel::setFilters | ( | QgsLayoutManagerProxyModel::Filters | filters | ) |
Sets the current filters used for filtering available layouts.
Definition at line 558 of file qgslayoutmanager.cpp.