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  · 

QVideoOutputControl Class Reference

The QVideoOutputControl class provides a means of selecting the active video output control. More...

    #include <QVideoOutputControl>

This class is under development and is subject to change.

Inherits QMediaControl.


Public Types

enum Output { NoOutput, WindowOutput, RendererOutput, WidgetOutput, UserOutput, MaxUserOutput }

Public Functions

~QVideoOutputControl ()
virtual QList<Output> availableOutputs () const = 0
virtual Output output () const = 0
virtual void setOutput ( Output output ) = 0
  • 29 public functions inherited from QObject

Signals

void availableOutputsChanged ( const QList<QVideoOutputControl::Output> & outputs )

Protected Functions

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

Macros

QVideoOutputControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot 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 QVideoOutputControl class provides a means of selecting the active video output control.

There are multiple controls which a QMediaService may use to output video ony one of which may be active at one time, QVideoOutputControl is the means by which this active control is selected.

The possible output controls are QVideoRendererControl, QVideoWindowControl, and QVideoWidgetControl.

The interface name of QVideoOutputControl is com.nokia.Qt.QVideoOutputControl/1.0 as defined in QVideoOutputControl_iid.

See also QMediaService::control(), QVideoWidget, QVideoRendererControl, QVideoWindowControl, and QVideoWidgetControl.


Member Type Documentation

enum QVideoOutputControl::Output

Identifies the possible render targets of a video output.

ConstantValueDescription
QVideoOutputControl::NoOutput0Video is not rendered.
QVideoOutputControl::WindowOutput1Video is rendered to the target of a QVideoWindowControl.
QVideoOutputControl::RendererOutput2Video is rendered to the target of a QVideoRendererControl.
QVideoOutputControl::WidgetOutput3Video is rendered to a QWidget provided by QVideoWidgetControl.
QVideoOutputControl::UserOutput100Start value for user defined video targets.
QVideoOutputControl::MaxUserOutput1000End value for user defined video targets.


Member Function Documentation

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

Constructs a new video output control with the given parent.

QVideoOutputControl::~QVideoOutputControl ()

Destroys a video output control.

QList<Output> QVideoOutputControl::availableOutputs () const   [pure virtual]

Returns a list of available video output targets.

void QVideoOutputControl::availableOutputsChanged ( const QList<QVideoOutputControl::Output> & outputs )   [signal]

Signals that available set of video outputs has changed.

Output QVideoOutputControl::output () const   [pure virtual]

Returns the current video output target.

See also setOutput().

void QVideoOutputControl::setOutput ( Output output )   [pure virtual]

Sets the current video output target.

See also output().


Macro Documentation

QVideoOutputControl_iid

com.nokia.Qt.QVideoOutputControl/1.0

Defines the interface name of the QVideoOutputControl 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-tp
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