Qt Mobility Reference Documentation

QML GalleryFilter Element

The GalleryFilter element provides filtering criteria for a gallery query. More...

Properties

Detailed Description

This element is part of the QtMobility.gallery 1.0 module.

 GalleryFilter {
     property: "keywords"
     value: "holiday"
 }

Property Documentation

caseSensitivity : enum

This property holds whether the comparison made by a GalleryFilter should be case sensitive. It can be one of:

  • Qt.CaseSensitive The comparison is case sensitive.
  • Qt.CaseInsensitive The comparison is not case case sensitive.

comparator : enum

This property holds the type of comparison made by a GalleryFilter. It can be one of:

  • Equals The filter tests if a meta-data property is equal to a value.
  • LessThan The filter tests if a meta-data property is less than a value.
  • GreaterThan The filter tests if a meta-data property is greater than a value.
  • LessThanEquals The filter tests if a meta-data property is less than or equal to a value.
  • GreaterThanEquals The filter tests if a meta-data property is greater than or equal to a value.
  • Contains The filter tests if a meta-data property contains a sub-string.
  • StartsWith The filter tests if a meta-data property starts with a string.
  • EndsWith The filter tests if a meta-data property ends with a string.
  • Wildcard The filter tests if a meta-data property matches a wildcard string.
  • RegExp The filter tests if a meta-data property matches a regular expression.

inverted : bool

This property holds whether the result of a GalleryFilter should be inverted.


property : string

This property holds the name of the property to filter against.


value : variant

This property holds the value to filter using.



Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0