QGIS/python/gui/auto_generated/qgslayermetadataresultsproxymodel.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

80 lines
2.4 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslayermetadataresultsproxymodel.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsLayerMetadataResultsProxyModel : QSortFilterProxyModel
{
%Docstring(signature="appended")
A proxy model for :py:class:`QgsLayerMetadataResultsModel`, handling
text and extent filtering.
.. versionadded:: 3.28
%End
%TypeHeaderCode
#include "qgslayermetadataresultsproxymodel.h"
%End
public:
explicit QgsLayerMetadataResultsProxyModel( QObject *parent = 0 );
%Docstring
Constructs a QgsLayerMetadataResultsProxyModel with an optional
``parent``.
%End
const QString filterString() const;
%Docstring
Returns the filter string.
%End
void setFilterGeometryTypeEnabled( bool enabled );
%Docstring
Sets the geometry type filter status to ``enabled``.
%End
void setFilterMapLayerTypeEnabled( bool enabled );
%Docstring
Sets the map layer type filter status to ``enabled``.
%End
public slots:
void setFilterExtent( const QgsRectangle &extent );
%Docstring
Sets the extent filter to ``extent``.
%End
void setFilterGeometryType( Qgis::GeometryType geometryType );
%Docstring
Sets the geometry type filter to ``geometryType``.
%End
void setFilterString( const QString &filterString );
%Docstring
Sets the text filter to ``filterString``.
%End
void setFilterMapLayerType( const Qgis::LayerType mapLayerType );
%Docstring
Sets the map layer type filter to ``mapLayerType``.
%End
protected:
virtual bool filterAcceptsRow( int sourceRow, const QModelIndex &sourceParent ) const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslayermetadataresultsproxymodel.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/