QOrganizerItemDetailRangeFilter ClassThe QOrganizerItemDetailRangeFilter class provides a filter based around a detail value range criterion. More... #include <QOrganizerItemDetailRangeFilter> Inherits: QOrganizerItemFilter. Public Types
Public Functions
Detailed DescriptionThe QOrganizerItemDetailRangeFilter class provides a filter based around a detail value range criterion. It may be used to select organizer items which contain a detail of a particular type, whose value falls in a particular range. Member Type Documentation
flags QOrganizerItemDetailRangeFilter::RangeFlags |
Constant | Value |
---|---|
QOrganizerItemDetailRangeFilter::IncludeLower | 0 |
QOrganizerItemDetailRangeFilter::IncludeUpper | 1 |
QOrganizerItemDetailRangeFilter::ExcludeLower | 2 |
QOrganizerItemDetailRangeFilter::ExcludeUpper | 0 |
The RangeFlags type is a typedef for QFlags<RangeFlag>. It stores an OR combination of RangeFlag values.
Constructs a new detail range filter.
Constructs a copy of other if possible, otherwise constructs a new detail range filter.
Returns the detail field containing the value which will be matched against the value criterion.
See also setDetail().
Returns the type of the detail which will be inspected for matching values.
See also setDetail().
Returns the match flags of the criterion, which define semantics such as case sensitivity, prefix matching, exact matching, etc.
See also setMatchFlags().
Returns the upper bound of the value range criterion.
See also setRange().
Returns the lower bound of the value range criterion.
See also setRange().
Returns a set of flags which defines the boundary condition semantics of the value range criterion.
See also setRange().
Sets the type of detail which will be matched to detailType, and the field of the detail which will contain the value criterion to field.
See also detailType() and detailField().
Sets the match flags of the filter criterion to flags.
Not all flags are supported by a range filter. The supported flags include:
Unsupported flags will be ignored.
See also matchFlags().
Sets the value range criterion of the filter to within min and max, with boundary conditions specified in the given flags.
See also minValue(), maxValue(), and rangeFlags().