The QVideoWidgetControl class provides a media control which implements a video widget. More...
#include <QVideoWidgetControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.0.
virtual | ~QVideoWidgetControl () |
virtual Qt::AspectRatioMode | aspectRatioMode () const = 0 |
virtual int | brightness () const = 0 |
virtual int | contrast () const = 0 |
virtual int | hue () const = 0 |
virtual bool | isFullScreen () const = 0 |
virtual int | saturation () const = 0 |
virtual void | setAspectRatioMode ( Qt::AspectRatioMode mode ) = 0 |
virtual void | setBrightness ( int brightness ) = 0 |
virtual void | setContrast ( int contrast ) = 0 |
virtual void | setFullScreen ( bool fullScreen ) = 0 |
virtual void | setHue ( int hue ) = 0 |
virtual void | setSaturation ( int saturation ) = 0 |
virtual QWidget * | videoWidget () = 0 |
void | brightnessChanged ( int brightness ) |
void | contrastChanged ( int contrast ) |
void | fullScreenChanged ( bool fullScreen ) |
void | hueChanged ( int hue ) |
void | saturationChanged ( int saturation ) |
QVideoWidgetControl ( QObject * parent = 0 ) |
QVideoWidgetControl_iid |
The QVideoWidgetControl class provides a media control which implements a video widget.
The videoWidget() property of QVideoWidgetControl provides a pointer to a video widget implemented by the control's media service. This widget is owned by the media service and so care should be taken not to delete it.
QVideoWidgetControl *widgetControl = mediaService->requestControl<QVideoWidgetControl *>(); layout->addWidget(widgetControl->videoWidget());
QVideoWidgetControl is one of number of possible video output controls.
The interface name of QVideoWidgetControl is com.nokia.Qt.QVideoWidgetControl/1.0 as defined in QVideoWidgetControl_iid.
See also QMediaService::requestControl() and QVideoWidget.
Constructs a new video widget control with the given parent.
Destroys a video widget control.
Returns how video is scaled to fit the widget with respect to its aspect ratio.
This function was introduced in Qt Mobility 1.0.
See also setAspectRatioMode().
Returns the brightness adjustment applied to a video.
Valid brightness values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also setBrightness().
Signals that a video widget's brightness adjustment has changed.
This function was introduced in Qt Mobility 1.0.
Returns the contrast adjustment applied to a video.
Valid contrast values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also setContrast().
Signals that a video widget's contrast adjustment has changed.
This function was introduced in Qt Mobility 1.0.
Signals that the fullScreen state of a video widget has changed.
This function was introduced in Qt Mobility 1.0.
Returns the hue adjustment applied to a video widget.
Value hue values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also setHue().
Signals that a video widget's hue adjustment has changed.
This function was introduced in Qt Mobility 1.0.
Returns true if the video is shown using the complete screen.
This function was introduced in Qt Mobility 1.0.
Returns the saturation adjustment applied to a video widget.
Value saturation values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also setSaturation().
Signals that a video widget's saturation adjustment has changed.
This function was introduced in Qt Mobility 1.0.
Sets the aspect ratio mode which determines how video is scaled to the fit the widget with respect to its aspect ratio.
This function was introduced in Qt Mobility 1.0.
See also aspectRatioMode().
Sets a brightness adjustment for a video.
Valid brightness values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also brightness().
Sets the contrast adjustment for a video widget to contrast.
Valid contrast values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also contrast().
Sets whether a video widget is in fullScreen mode.
This function was introduced in Qt Mobility 1.0.
See also isFullScreen().
Sets a hue adjustment for a video widget.
Valid hue values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also hue().
Sets a saturation adjustment for a video widget.
Valid saturation values range between -100 and 100, the default is 0.
This function was introduced in Qt Mobility 1.0.
See also saturation().
Returns the QWidget.
This function was introduced in Qt Mobility 1.0.
com.nokia.Qt.QVideoWidgetControl/1.0
Defines the interface name of the QVideoWidgetControl class.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.