1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
/************************************************************************
* 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")
The :py:class:`QgsLayerMetadataResultsProxyModel` class is a proxy model
for :py:class:`QgsLayerMetadataResultsModel`, it handles 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 *
************************************************************************/
|