QDocumentGallery Class ReferenceThe QDocumentGallery class provides access to a gallery of documents and media present on a device. More... #include <QDocumentGallery> Inherits QAbstractGallery. Public Types
Public Functions
Reimplemented Public Functions
Static Public Members
Reimplemented Protected Functions
Additional Inherited Members
Detailed DescriptionThe QDocumentGallery class provides access to a gallery of documents and media present on a device. RequestsRequests are the interface through which queries and actions are executed against a QDocumentGallery.
Item typesThe items present in a QDocumentGallery can be of both file type such as documents and media, or categorical type such as genres or albums. File typesCategorical typesPropertiesThe item meta-data stored in a QDocumentGallery is addressed through properties. The set of properties addressable differs between item type but some properties are shared by most types. Common item propertiesCommon type propertiesMember Type Documentation
|
Constant | Value | Description |
---|---|---|
QDocumentGallery::NoError | QGalleryAbstractRequest::NoError | No error. |
QDocumentGallery::NoGallery | QGalleryAbstractRequest::NoGallery | No Gallery defined or found. |
QDocumentGallery::NotSupported | QGalleryAbstractRequest::NotSupported | Gallery is not supported. |
QDocumentGallery::ConnectionError | QGalleryAbstractRequest::GalleryError | Connection to gallery is broken. |
QDocumentGallery::ItemIdError | ? | Id of a item is wrong. |
QDocumentGallery::ItemTypeError | ? | Type of an item is wrong. |
QDocumentGallery::FilterError | ? | Error in filter found. |
Constructs a new document gallery.
The parent is passed to QAbstractGallery.
Destroys a document gallery.
Reimplemented from QAbstractGallery::createResponse().
Reimplemented from QAbstractGallery::isRequestSupported().
Returns a list of names of properties that are valid for an itemType.
Returns the attributes of a property of itemType identified by propertyName
This type matches all albums in the document gallery.
Properties typically available from albums include:
This type matches all album artists in the document gallery.
Properties typically available from album artists include:
This type matches all artists in the document gallery.
Properties typically available from artists include:
This type matches all audio files in the document gallery.
In addition to the properties derived from the File type audio files may also provide:
This type matches all audio genres in the document gallery.
Properties typically available from genres include:
This type matches all document files in the document gallery.
In addition to the properties derived from the File type documents may also provide:
This type matches all files in the document gallery.
Properties typically available from files include:
This type matches all file-system folders in the document gallery.
In addition to the properties derived from the File type folders may also provide:
This type matches all image files in the document gallery.
In addition to the properties derived from the File type video files may also provide:
This type matches all photo albums in the document gallery.
This type matches all playlist files in the document gallery.
In addition to the properties derived from the File type playlist files may also provide:
This type matches all text files in the document gallery.
In addition to the properties derived from the File type text files may also provide:
This type matches all video files in the document gallery.
In addition to the properties derived from the File type video files may also provide:
This property contains the name of the title artist of a music album.
This property contains the title of the album a music track belongs to.
This property contains the names of artists contributing to a music track.
This property contains the bit rate of the audio in a media file.
This property contains the name of the codec used to encode audio in a media file.
This property contains the name of the author of an item in the document gallery.
This property contains the manufacturer name of the camera used to take a photo.
This property contains the model name of the camera used to take a photo.
This property contains the number of audio channels in a media file.
This property contains a user comment about an item in the document gallery.
This property contains the name of the composer of a music track.
This property contains a copyright statement for an item in the document gallery.
This property contains the number of items within the scope of a parent item or an item type.
This property contains the date and time a document was created.
This property contains the date and time a photo was taken.
This property contains a description of an item in the document gallery.
This property contains the name of the director of a video.
This property contains the disc number of an album in a set.
This property contains the duration of an audio or video file.
This property contains the name of the exposure program used when taking a photo.
This property contains the exposure time of a photo in seconds.
This property contains the F-number of a photo.
This property contains the file extension of a file.
This property contains the file name excluding the path of a file in the document gallery.
This property contains the absolute path including the file name of a file in the document gallery.
This property contains the size in bytes of a file.
This property contains whether a flash was used when taking a photo.
This property contains the focal length used when taking a photo.
This property contains the frame rate of a video.
This property contains the genre of a media file.
This property contains the height in pixels of an image or video file.
This property contains keywords relevant to an item in the document gallery.
This property contains the language of the content of an item in the document gallery.
This property contains the date and time a file was last accessed.
This property contains the date and time a file was last modified.
This property contains the date and time an audio or video file was last played.
This property contains the lyrics to a music track.
This property contains the metering mode used when taking a photo.
This property contains the MIME type of a file.
This property contains the orientation of an image.
This property contains the number of pages in a document.
This property contains the absolute path excluding the file name of a file in the document gallery.
This property contains the names of performers in a media file.
This property contains the number of times an audio or video file has been played.
This property contains the name of the producer of a media file.
This property contains a rating for an item in the document gallery.
This property contains the position in a video where playback was interrupted.
This property contains the sample rate of the audio in a media file.
This property contains the subject of item in the document gallery.
This property contains the title of an item in the document gallery.
This property contains the number of music tracks in an album.
This property contains the track number of a music track in an album.
This property contains canonical url of an item in the document gallery.
This property contains the bit rate of the video in a media file.
This property contains the codec used to encode the video in a media file.
This property contains the white balance setting used when taking a photo.
This property contains the width in pixels of an image or video file.
This property contains the number of words in document.