Qt Mobility Reference Documentation

QML DocumentGalleryItem Element

The DocumentGalleryItem element allows you to request information about a single item from the document gallery More...

Properties

Methods

Detailed Description

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

See also DocumentGalleryModel and DocumentGalleryType.


Property Documentation

autoUpdate : bool

This property holds whether a request should refresh its results automatically.


available : bool

This property holds whether the meta-data of an item is available.


item : variant

This property holds the id of the item to return information about.


read-onlyitemType : enum

This property holds the type of a gallery item. It can be one of:

  • DocumentGallery.InvalidType
  • DocumentGallery.File
  • DocumentGallery.Folder
  • DocumentGallery.Document
  • DocumentGallery.Text
  • DocumentGallery.Audio
  • DocumentGallery.Image
  • DocumentGallery.Video
  • DocumentGallery.Playlist
  • DocumentGallery.Artist
  • DocumentGallery.AlbumArtist
  • DocumentGallery.Album
  • DocumentGallery.AudioGenre
  • DocumentGallery.PhotoAlbum

itemUrl : url

This property holds the URL of a gallery item.


metaData : object

This property holds the meta-data of a gallery item.


progress : real

This property holds the current progress of the request, from 0.0 (started) to 1.0 (finished).


properties : QStringList

This property holds the item properties a request should return values for.


status : enum

This property holds the status of an item request. It can be one of:

  • Null No item has been specified.
  • Active Information about an item is being fetched from the gallery.
  • Finished Information about an item is available.
  • Idle Information about an item which will be automatically updated is available.
  • Canceling The query was canceled but hasn't yet reached the canceled status.
  • Canceled The query was canceled.
  • Error Information about a type could not be retrieved due to an error.

Method Documentation

DocumentGalleryItem::cancel ()

Cancels an executing request.


DocumentGalleryItem::clear ()

Clears the results of a request.


DocumentGalleryItem::reload ()

Re-queries the gallery.


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.