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  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QVideoRendererControl Class Reference

The QVideoRendererControl class provides a control for rendering to a video surface. More...

    #include <QVideoRendererControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Functions

~QVideoRendererControl ()
virtual void setSurface ( QAbstractVideoSurface * surface ) = 0
virtual QAbstractVideoSurface * surface () const = 0
  • 29 public functions inherited from QObject

Protected Functions

QVideoRendererControl ( QObject * parent = 0 )
  • 7 protected functions inherited from QObject

Macros

QVideoRendererControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public type inherited from QObject
  • 4 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QVideoRendererControl class provides a control for rendering to a video surface.

Using the surface() property of QVideoRendererControl a QAbstractVideoSurface may be set as the video render target of a QMediaService.

    QVideoRendererControl *rendererControl = mediaService->control<QVideoRendererControl *>();
    rendererControl->setSurface(myVideoSurface);

QVideoRendererControl is one of number of possible video output controls.

The interface name of QVideoRendererControl is com.nokia.Qt.QVideoRendererControl/1.0 as defined in QVideoRendererControl_iid.

See also QMediaService::requestControl() and QVideoWidget.


Member Function Documentation

QVideoRendererControl::QVideoRendererControl ( QObject * parent = 0 )   [protected]

Constructs a new video renderer media end point with the given parent.

QVideoRendererControl::~QVideoRendererControl ()

Destroys a video renderer media end point.

void QVideoRendererControl::setSurface ( QAbstractVideoSurface * surface )   [pure virtual]

Sets the surface a video producer renders to.

See also surface().

QAbstractVideoSurface * QVideoRendererControl::surface () const   [pure virtual]

Returns the surface a video producer renders to.

See also setSurface().


Macro Documentation

QVideoRendererControl_iid

com.nokia.Qt.QVideoRendererControl/1.0

Defines the interface name of the QVideoRendererControl class.

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 qtmobility-1.0
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