QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Filters QgsLayoutGuideCollection models to guides of a single orientation (horizontal or vertical). More...
#include <qgslayoutguidecollection.h>
Public Member Functions | |
QgsLayoutGuideProxyModel (QObject *parent, Qt::Orientation orientation, int page) | |
Constructor for QgsLayoutGuideProxyModel, filtered to guides of the specified orientation and page only. More... | |
bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override |
bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
void | setPage (int page) |
Sets the current page for filtering matching guides. More... | |
Filters QgsLayoutGuideCollection models to guides of a single orientation (horizontal or vertical).
Definition at line 313 of file qgslayoutguidecollection.h.
|
explicit |
Constructor for QgsLayoutGuideProxyModel, filtered to guides of the specified orientation and page only.
Page numbers begin at 0.
Definition at line 589 of file qgslayoutguidecollection.cpp.
|
override |
Definition at line 604 of file qgslayoutguidecollection.cpp.
|
override |
Definition at line 615 of file qgslayoutguidecollection.cpp.
void QgsLayoutGuideProxyModel::setPage | ( | int | page | ) |
Sets the current page for filtering matching guides.
Page numbers begin at 0.
Definition at line 598 of file qgslayoutguidecollection.cpp.