| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A proxy model for QgsLayerMetadataResultsModel, handling text and extent filtering. More...
#include <qgslayermetadataresultsproxymodel.h>

Public Slots | |
| void | setFilterExtent (const QgsRectangle &extent) | 
| Sets the extent filter to extent.   | |
| void | setFilterGeometryType (Qgis::GeometryType geometryType) | 
| Sets the geometry type filter to geometryType.   | |
| void | setFilterMapLayerType (const Qgis::LayerType mapLayerType) | 
| Sets the map layer type filter to mapLayerType.   | |
| void | setFilterString (const QString &filterString) | 
| Sets the text filter to filterString.   | |
Public Member Functions | |
| QgsLayerMetadataResultsProxyModel (QObject *parent=nullptr) | |
| Constructs a QgsLayerMetadataResultsProxyModel with an optional parent.   | |
| const QString | filterString () const | 
| Returns the filter string.   | |
| void | setFilterGeometryTypeEnabled (bool enabled) | 
| Sets the geometry type filter status to enabled.   | |
| void | setFilterMapLayerTypeEnabled (bool enabled) | 
| Sets the map layer type filter status to enabled.   | |
Protected Member Functions | |
| bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override | 
A proxy model for QgsLayerMetadataResultsModel, handling text and extent filtering.
Definition at line 29 of file qgslayermetadataresultsproxymodel.h.
      
  | 
  explicit | 
Constructs a QgsLayerMetadataResultsProxyModel with an optional parent.
Definition at line 20 of file qgslayermetadataresultsproxymodel.cpp.
      
  | 
  overrideprotected | 
Definition at line 49 of file qgslayermetadataresultsproxymodel.cpp.
| const QString QgsLayerMetadataResultsProxyModel::filterString | ( | ) | const | 
Returns the filter string.
Definition at line 102 of file qgslayermetadataresultsproxymodel.cpp.
      
  | 
  slot | 
Sets the extent filter to extent.
Definition at line 25 of file qgslayermetadataresultsproxymodel.cpp.
      
  | 
  slot | 
Sets the geometry type filter to geometryType.
Definition at line 31 of file qgslayermetadataresultsproxymodel.cpp.
| void QgsLayerMetadataResultsProxyModel::setFilterGeometryTypeEnabled | ( | bool | enabled | ) | 
Sets the geometry type filter status to enabled.
Definition at line 96 of file qgslayermetadataresultsproxymodel.cpp.
      
  | 
  slot | 
Sets the map layer type filter to mapLayerType.
Definition at line 43 of file qgslayermetadataresultsproxymodel.cpp.
| void QgsLayerMetadataResultsProxyModel::setFilterMapLayerTypeEnabled | ( | bool | enabled | ) | 
Sets the map layer type filter status to enabled.
Definition at line 90 of file qgslayermetadataresultsproxymodel.cpp.
      
  | 
  slot | 
Sets the text filter to filterString.
Definition at line 37 of file qgslayermetadataresultsproxymodel.cpp.