QGIS API Documentation 3.43.0-Master (8fc5848dca1)
|
Proxy model to filter items in the tree views of the drag and drop designer. More...
#include <qgsattributesformmodel.h>
Public Slots | |
void | setFilterText (const QString &filterText=QString()) |
Sets the filter text. | |
Public Member Functions | |
QgsAttributesFormProxyModel (QObject *parent=nullptr) | |
Constructor for QgsAttributesFormProxyModel, with the given parent. | |
const QString | filterText () const |
Returns the text used to filter source model items. | |
void | setAttributesFormSourceModel (QgsAttributesFormModel *model) |
Sets the source model for the proxy model. | |
Protected Member Functions | |
bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override |
Proxy model to filter items in the tree views of the drag and drop designer.
Definition at line 829 of file qgsattributesformmodel.h.
QgsAttributesFormProxyModel::QgsAttributesFormProxyModel | ( | QObject * | parent = nullptr | ) |
Constructor for QgsAttributesFormProxyModel, with the given parent.
Definition at line 1685 of file qgsattributesformmodel.cpp.
|
overrideprotected |
Definition at line 1711 of file qgsattributesformmodel.cpp.
const QString QgsAttributesFormProxyModel::filterText | ( | ) | const |
Returns the text used to filter source model items.
Definition at line 1696 of file qgsattributesformmodel.cpp.
void QgsAttributesFormProxyModel::setAttributesFormSourceModel | ( | QgsAttributesFormModel * | model | ) |
Sets the source model for the proxy model.
Definition at line 1690 of file qgsattributesformmodel.cpp.
|
slot |
Sets the filter text.
Definition at line 1701 of file qgsattributesformmodel.cpp.