|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
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 1688 of file qgsattributesformmodel.cpp.
|
overrideprotected |
Definition at line 1714 of file qgsattributesformmodel.cpp.
| const QString QgsAttributesFormProxyModel::filterText | ( | ) | const |
Returns the text used to filter source model items.
Definition at line 1699 of file qgsattributesformmodel.cpp.
| void QgsAttributesFormProxyModel::setAttributesFormSourceModel | ( | QgsAttributesFormModel * | model | ) |
Sets the source model for the proxy model.
Definition at line 1693 of file qgsattributesformmodel.cpp.
|
slot |
Sets the filter text.
Definition at line 1704 of file qgsattributesformmodel.cpp.