◆ Private()
| KisNodeFilterProxyModel::Private::Private |
( |
| ) |
|
|
inline |
◆ checkIndexAllowedRecursively()
| bool KisNodeFilterProxyModel::Private::checkIndexAllowedRecursively |
( |
QModelIndex | srcIndex | ) |
|
Definition at line 70 of file kis_node_filter_proxy_model.cpp.
71{
72 if (!srcIndex.isValid()) return false;
73
76
77
78
80 Q_UNUSED(directParentTextFilterMatch);
81
84 ( nodeColorMatch && nodeTextFilterMatch )) {
85 return true;
86 }
87
88 bool result = false;
89
90 const int numChildren = srcIndex.model()->rowCount(srcIndex);
91 for (int i = 0; i < numChildren; i++) {
94 result = true;
95 break;
96 }
97 }
98
99 return result;
100}
KisNodeSP nodeFromIndex(const QModelIndex &index) const
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const override
int colorLabelIndex() const
QSet< int > acceptedColorLabels
bool checkIndexAllowedRecursively(QModelIndex srcIndex)
boost::optional< QString > activeTextFilter
References acceptedColorLabels, activeNode, activeTextFilter, checkIndexAllowedRecursively(), KisBaseNode::colorLabelIndex(), KisNodeModel::index(), KisBaseNode::name(), KisNodeModel::nodeFromIndex(), nodeModel, and KisNode::parent.
◆ acceptedColorLabels
| QSet<int> KisNodeFilterProxyModel::Private::acceptedColorLabels |
◆ activeNode
| KisNodeSP KisNodeFilterProxyModel::Private::activeNode |
◆ activeNodeCompressor
◆ activeTextFilter
| boost::optional<QString> KisNodeFilterProxyModel::Private::activeTextFilter |
◆ isUpdatingFilter
| bool KisNodeFilterProxyModel::Private::isUpdatingFilter = false |
◆ modelConnections
◆ nodeModel
◆ pendingActiveNode
| KisNodeSP KisNodeFilterProxyModel::Private::pendingActiveNode |
The documentation for this struct was generated from the following file: