Describes a single attribute-based filter condition.
More...
#include <graph/filters/filter_condition.h>
|
| bool | matches (const QString &attrValue) const |
| QString | label () const |
Describes a single attribute-based filter condition.
Shared by Graph::vertexFilterByAttribute(), Graph::edgeFilterByAttribute(), DialogFilterByAttribute, and the future filter bar (#219).
◆ Op
| Enumerator |
|---|
| Eq | |
| Neq | |
| Gt | |
| Lt | |
| Gte | |
| Lte | |
| Contains | |
◆ Scope
| Enumerator |
|---|
| Nodes | |
| Edges | |
| Both | |
◆ label()
| QString FilterCondition::label |
( |
| ) |
const |
|
inline |
Short human-readable label for a filter bar chip.
◆ matches()
| bool FilterCondition::matches |
( |
const QString & | attrValue | ) |
const |
|
inline |
Returns true if attrValue satisfies this condition.
◆ key
| QString FilterCondition::key |
◆ op
◆ scope
◆ value
| QString FilterCondition::value |
The documentation for this struct was generated from the following file: