Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QOrganizerItemDetailRangeFilter Class Reference

The QOrganizerItemDetailRangeFilter class provides a filter based around a detail value range criterion. More...

 #include <QOrganizerItemDetailRangeFilter>

Inherits QOrganizerItemFilter.

Public Types

enum RangeFlag { IncludeLower, IncludeUpper, ExcludeLower, ExcludeUpper }
flags RangeFlags

Public Functions

QOrganizerItemDetailRangeFilter ()
QOrganizerItemDetailRangeFilter ( const QOrganizerItemFilter & other )
QString detailDefinitionName () const
QString detailFieldName () const
QOrganizerItemFilter::MatchFlags matchFlags () const
QVariant maxValue () const
QVariant minValue () const
RangeFlags rangeFlags () const
void setDetailDefinitionName ( const QString & definitionName, const QString & fieldName = QString() )
void setMatchFlags ( QOrganizerItemFilter::MatchFlags flags )
void setRange ( const QVariant & min, const QVariant & max, RangeFlags flags = 0 )

Detailed Description

The QOrganizerItemDetailRangeFilter class provides a filter based around a detail value range criterion.

It may be used to select organizeritems which contain a detail of a particular definition with a particular value

Member Type Documentation

enum QOrganizerItemDetailRangeFilter::RangeFlag
flags QOrganizerItemDetailRangeFilter::RangeFlags

Enumerates the semantics of the boundary conditions of the detail range filter

ConstantValue
QOrganizerItemDetailRangeFilter::IncludeLower0
QOrganizerItemDetailRangeFilter::IncludeUpper1
QOrganizerItemDetailRangeFilter::ExcludeLower2
QOrganizerItemDetailRangeFilter::ExcludeUpper0

The RangeFlags type is a typedef for QFlags<RangeFlag>. It stores an OR combination of RangeFlag values.

Member Function Documentation

QOrganizerItemDetailRangeFilter::QOrganizerItemDetailRangeFilter ()

Constructs a new detail range filter

QOrganizerItemDetailRangeFilter::QOrganizerItemDetailRangeFilter ( const QOrganizerItemFilter & other )

Constructs a copy of other if possible, otherwise constructs a new detail range filter

QString QOrganizerItemDetailRangeFilter::detailDefinitionName () const

Returns the definition name of the details which will be inspected for matching values

See also setDetailDefinitionName().

QString QOrganizerItemDetailRangeFilter::detailFieldName () const

Returns the name of the field which contains the value which will be matched against the value criterion

See also setDetailDefinitionName().

QOrganizerItemFilter::MatchFlags QOrganizerItemDetailRangeFilter::matchFlags () const

Returns the match flags of the criterion, which define semantics such as case sensitivity, prefix matching, exact matching, etc.

See also setMatchFlags().

QVariant QOrganizerItemDetailRangeFilter::maxValue () const

Returns the upper bound of the value range criterion

See also setRange().

QVariant QOrganizerItemDetailRangeFilter::minValue () const

Returns the lower bound of the value range criterion

See also setRange().

RangeFlags QOrganizerItemDetailRangeFilter::rangeFlags () const

Returns a set of flags which defines the boundary condition semantics of the value range criterion

See also setRange().

void QOrganizerItemDetailRangeFilter::setDetailDefinitionName ( const QString & definitionName, const QString & fieldName = QString() )

Sets the name of the detail definition of which type details will be inspected for matching values to definitionName, and the name of the field which will be inspected in details of that definition to fieldName.

See also detailDefinitionName() and detailFieldName().

void QOrganizerItemDetailRangeFilter::setMatchFlags ( QOrganizerItemFilter::MatchFlags flags )

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().

void QOrganizerItemDetailRangeFilter::setRange ( const QVariant & min, const QVariant & max, RangeFlags flags = 0 )

Sets the value range criterion of the filter to within min and max, with boundary conditions specified in the given flags

See also minValue() and maxValue().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtmobility-1.1
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web