![]() |
Home · All Classes · All Functions · | ![]() |
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.
enum | Output { NoOutput, WindowOutput, RendererOutput, WidgetOutput, UserOutput, MaxUserOutput } |
~QVideoOutputControl () | |
virtual QList<Output> | availableOutputs () const = 0 |
virtual Output | output () const = 0 |
virtual void | setOutput ( Output output ) = 0 |
void | availableOutputsChanged ( const QList<QVideoOutputControl::Output> & outputs ) |
QVideoOutputControl ( QObject * parent = 0 ) |
QVideoOutputControl_iid |
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.
Identifies the possible render targets of a video output.
Constant | Value | Description |
---|---|---|
QVideoOutputControl::NoOutput | 0 | Video is not rendered. |
QVideoOutputControl::WindowOutput | 1 | Video is rendered to the target of a QVideoWindowControl. |
QVideoOutputControl::RendererOutput | 2 | Video is rendered to the target of a QVideoRendererControl. |
QVideoOutputControl::WidgetOutput | 3 | Video is rendered to a QWidget provided by QVideoWidgetControl. |
QVideoOutputControl::UserOutput | 100 | Start value for user defined video targets. |
QVideoOutputControl::MaxUserOutput | 1000 | End value for user defined video targets. |
Constructs a new video output control with the given parent.
Destroys a video output control.
Returns a list of available video output targets.
Signals that available set of video outputs has changed.
Returns the current video output target.
See also setOutput().
Sets the current video output target.
See also output().
com.nokia.Qt.QVideoOutputControl/1.0
Defines the interface name of the QVideoOutputControl class.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |