MediaController Class Reference |
Constant | Value | Description |
---|---|---|
Phonon::MediaController::Angles | 1 | In the VOB (DVD) format, it is possible to to give several video streams of the same scene, each of which displays the scene from a different angle. The DVD viewer can then change between these angles. |
Phonon::MediaController::Chapters | 2 | In the VOB format, chapters are points in a single video stream that can be played and seeked to separately. |
Phonon::MediaController::Titles | 4 | On a CD, a title is a separate sound track. On DVD, a title is a separate VOB file. |
The Features type is a typedef for QFlags<Feature>. It stores an OR combination of Feature values.
Constructs a new MediaController with the media object (parent) to be used by the media controller.
See also MediaObject and Feature.
This signal is emitted whenever the current angle changes. The new angle number is given by angleNumber.
See also Feature.
Returns true if titles will automatically be played when the media is played; otherwise returns false.
The media controller will play the titles of the media source in sequence when the media object's play() function is called. If the autoplay option is disabled, the media object will play the MediaController::currentTitle(){current title} and then finish the playback.
See also setAutoplayTitles() and currentTitle().
Returns the available angles that is available for the current media source.
See also Feature.
This signal is emitted whenever the number of available angles changes. The new number of available angles is given by availableAngles.
See also Feature.
Returns the number of chapters the current media source contains.
See also Feature.
This signal is emitted whenever the number of available chapters changes. The new number of available chapters is given by availableChapters.
See also Feature.
Returns the number of titles that the current media source contains.
See also Feature.
This signal is emitted whenever the number of available titles changes. The new number of available titles is given by availableTitles.
See also Feature.
This signal is emitted whenever the current chapter changes. The new chapter number is given by chapterNumber.
See also Feature.
Returns the angle that is currently used.
See also setCurrentAngle() and Feature.
Returns the chapter that is currently being played back.
See also setCurrentChapter() and Feature.
Returns the title that is currently played back.
The current title is 0 (the first) by default.
See also setCurrentTitle() and Feature.
Skips to the next title.
If it was playing before the title change it will start playback on the next title if autoplayTitles is enabled.
See also Feature.
Skips to the previous title.
If it was playing before the title change it will start playback on the previous title if autoplayTitles is enabled.
See also Feature.
Sets the titles to play automatically when the media is played if enable is true; otherwise disables this option.
The media controller will play the titles of the media source in sequence when the media object's play() function is called. If the autoplay option is disabled, the media object will play the MediaController::currentTitle(){current title} and then finish the playback.
See also autoplayTitles() and currentTitle().
Sets the current angle to the given angleNumber if the media file or device supports navigation by angle number.
See also currentAngle() and Feature.
Sets the current chapter to the given chapterNumber if the media file or device supports navigation by chapter number.
See also currentChapter() and Feature.
Skips to the given title titleNumber.
If it was playing before the title change it will start playback on the new title if autoplayTitles is enabled.
See also currentTitle() and Feature.
This signal is emitted whenever the current title changes. The new title number is given by titleNumber.
See also Feature.
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 4.4 | |
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 ! |
Copyright © 2000-2012 - www.developpez.com