|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
A proxy model which allows filtering the settings tree. More...
#include <qgssettingstreemodel.h>

Public Slots | |
| void | setFilterText (const QString &filterText=QString()) |
| Sets the filter text. | |
Public Member Functions | |
| QgsSettingsTreeProxyModel (QgsSettingsTreeNode *rootNode=nullptr, QObject *parent=nullptr) | |
| Constructor. | |
| void | applyChanges () |
| Apply pending changes in the model to the corresponding settings. | |
Protected Member Functions | |
| bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
A proxy model which allows filtering the settings tree.
Definition at line 221 of file qgssettingstreemodel.h.
| QgsSettingsTreeProxyModel::QgsSettingsTreeProxyModel | ( | QgsSettingsTreeNode * | rootNode = nullptr, |
| QObject * | parent = nullptr |
||
| ) |
Constructor.
Definition at line 500 of file qgssettingstreemodel.cpp.
|
inline |
Apply pending changes in the model to the corresponding settings.
Definition at line 229 of file qgssettingstreemodel.h.
|
overrideprotected |
Definition at line 516 of file qgssettingstreemodel.cpp.
|
slot |
Sets the filter text.
Definition at line 507 of file qgssettingstreemodel.cpp.