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  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QuickTimeVideoPlayer Class

(Phonon::QT7::QuickTimeVideoPlayer)

Inherits: QObject (private).

Public Types

flags State
enum StateEnum { Playing, Paused, NoMedia }

Public Functions

QuickTimeVideoPlayer()
virtual ~QuickTimeVideoPlayer()
bool audioEnabled()
bool canPlayMedia() const
void * currentFrameAsCIImage()
CVOpenGLTextureRef currentFrameAsCVTexture()
GLuint currentFrameAsGLTexture()
QImage currentFrameAsQImage()
quint64 currentTime() const
QString currentTimeString()
quint64 duration() const
void enableAudio(bool enable)
bool hasAudio() const
bool hasMovie() const
bool hasVideo() const
bool isDrmAuthorized() const
bool isDrmProtected() const
bool isPlaying() const
bool isSeekable() const
MediaSource mediaSource() const
void pause()
float percentageLoaded()
void play()
float playbackRate() const
bool preRollMovie(qint64 startTime = 0)
float prefferedPlaybackRate() const
void * primaryRenderingCIImage()
QTMovie * qtMovie() const
void seek(quint64 milliseconds)
bool setAudioDevice(int id)
void setColors(qreal brightness = 0, qreal contrast = 1, qreal hue = 0, qreal saturation = 1)
void setMasterVolume(float volume)
void setMediaSource(const MediaSource & source)
void setMute(bool mute)
void setPlaybackRate(float rate)
void setPrimaryRenderingCIImage(void * ciImage)
void setPrimaryRenderingTarget(NSObject * target)
void setRelativeVolume(float volume)
void setVolume(float masterVolume, float relativeVolume)
QuickTimeVideoPlayer::State state() const
quint64 timeLoaded()
long timeScale() const
void unsetVideo()
bool videoFrameChanged()
QRect videoRect() const
  • 31 public functions inherited from QObject

Static Public Members

QString timeToString(quint64 ms)
  • 11 static public members inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signal inherited from QObject
  • 9 protected functions inherited from QObject

Member Type Documentation

enum QuickTimeVideoPlayer::StateEnum
flags QuickTimeVideoPlayer::State

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

Member Function Documentation

QuickTimeVideoPlayer::QuickTimeVideoPlayer()

QuickTimeVideoPlayer::~QuickTimeVideoPlayer() [virtual]

bool QuickTimeVideoPlayer::audioEnabled()

bool QuickTimeVideoPlayer::canPlayMedia() const

void * QuickTimeVideoPlayer::currentFrameAsCIImage()

CVOpenGLTextureRef QuickTimeVideoPlayer::currentFrameAsCVTexture()

GLuint QuickTimeVideoPlayer::currentFrameAsGLTexture()

QImage QuickTimeVideoPlayer::currentFrameAsQImage()

quint64 QuickTimeVideoPlayer::currentTime() const

QString QuickTimeVideoPlayer::currentTimeString()

quint64 QuickTimeVideoPlayer::duration() const

void QuickTimeVideoPlayer::enableAudio(bool enable)

bool QuickTimeVideoPlayer::hasAudio() const

bool QuickTimeVideoPlayer::hasMovie() const

bool QuickTimeVideoPlayer::hasVideo() const

bool QuickTimeVideoPlayer::isDrmAuthorized() const

bool QuickTimeVideoPlayer::isDrmProtected() const

bool QuickTimeVideoPlayer::isPlaying() const

bool QuickTimeVideoPlayer::isSeekable() const

MediaSource QuickTimeVideoPlayer::mediaSource() const

See also setMediaSource().

void QuickTimeVideoPlayer::pause()

float QuickTimeVideoPlayer::percentageLoaded()

void QuickTimeVideoPlayer::play()

float QuickTimeVideoPlayer::playbackRate() const

See also setPlaybackRate().

bool QuickTimeVideoPlayer::preRollMovie(qint64 startTime = 0)

float QuickTimeVideoPlayer::prefferedPlaybackRate() const

void * QuickTimeVideoPlayer::primaryRenderingCIImage()

See also setPrimaryRenderingCIImage().

QTMovie * QuickTimeVideoPlayer::qtMovie() const

void QuickTimeVideoPlayer::seek(quint64 milliseconds)

bool QuickTimeVideoPlayer::setAudioDevice(int id)

void QuickTimeVideoPlayer::setColors(qreal brightness = 0, qreal contrast = 1, qreal hue = 0, qreal saturation = 1)

void QuickTimeVideoPlayer::setMasterVolume(float volume)

void QuickTimeVideoPlayer::setMediaSource(const MediaSource & source)

See also mediaSource().

void QuickTimeVideoPlayer::setMute(bool mute)

void QuickTimeVideoPlayer::setPlaybackRate(float rate)

See also playbackRate().

void QuickTimeVideoPlayer::setPrimaryRenderingCIImage(void * ciImage)

See also primaryRenderingCIImage().

void QuickTimeVideoPlayer::setPrimaryRenderingTarget(NSObject * target)

void QuickTimeVideoPlayer::setRelativeVolume(float volume)

void QuickTimeVideoPlayer::setVolume(float masterVolume, float relativeVolume)

QuickTimeVideoPlayer::State QuickTimeVideoPlayer::state() const

quint64 QuickTimeVideoPlayer::timeLoaded()

long QuickTimeVideoPlayer::timeScale() const

QString QuickTimeVideoPlayer::timeToString(quint64 ms) [static]

void QuickTimeVideoPlayer::unsetVideo()

bool QuickTimeVideoPlayer::videoFrameChanged()

QRect QuickTimeVideoPlayer::videoRect() const

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 5.0-snapshot
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