QIfFilterTerm Class
The QIfFilterTerm is the representation of a filter. More...
| Header: | #include <QIfFilterTerm> | 
| qmake: | QT += interfaceframework | 
| Inherits: | QIfAbstractQueryTerm | 
Public Types
| enum | Operator { Equals, EqualsCaseInsensitive, Unequals, GreaterThan, GreaterEquals, …, LowerEquals } | 
Public Functions
| bool | isNegated() const | 
| QIfFilterTerm::Operator | operatorType() const | 
| QString | propertyName() const | 
| QVariant | value() const | 
Reimplemented Public Functions
Detailed Description
The filter is either in the form:
identifier operator valueor:
value operator identifierMember Type Documentation
enum QIfFilterTerm::Operator
| Constant | Value | Description | 
|---|---|---|
| QIfFilterTerm::Equals | 0 | Tests whether the value from the identifier is the equal to the passed value. In case of a string the comparison is case-senstitive. | 
| QIfFilterTerm::EqualsCaseInsensitive | 1 | Tests whether the value from the identifier is the equal to the passed value, but the comparison is done case-insensitive. | 
| QIfFilterTerm::Unequals | 2 | Tests whether the value from the identifier is the unequal to the passed value. In case of a string the comparison is case-senstitive. | 
| QIfFilterTerm::GreaterThan | 3 | Tests whether the value from the identifier is greater than the passed value. This does only work for numbers. | 
| QIfFilterTerm::GreaterEquals | 4 | Tests whether the value from the identifier is greater than or equal to the passed value. This does only work for numbers. | 
| QIfFilterTerm::LowerThan | 5 | Tests whether the value from the identifier is lower than the passed value. This does only work for numbers. | 
| QIfFilterTerm::LowerEquals | 6 | Tests whether the value from the identifier is lower than or equal to the passed value. This does only work for numbers. | 
Member Function Documentation
bool QIfFilterTerm::isNegated() const
Returns true when this term is negated, otherwise false
QIfFilterTerm::Operator QIfFilterTerm::operatorType() const
Returns the operator of this filter.
QString QIfFilterTerm::propertyName() const
Returns the property this filter should act on.
[override virtual] QString QIfFilterTerm::toString() const
Reimplements: QIfAbstractQueryTerm::toString() const.
[override virtual] QIfAbstractQueryTerm::Type QIfFilterTerm::type() const
Reimplements: QIfAbstractQueryTerm::type() const.
QVariant QIfFilterTerm::value() const
Returns the value of the filter.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.
