![]() |
Home · All Classes · All Functions · | ![]() |
The QVideoWidgetControl class provides a media control which implements a video widget. More...
#include <QVideoWidgetControl>
This class is under development and is subject to change.
Inherits QMediaControl.
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->widget());
QVideoWidgetControl is one of number of possible video output controls, in order to receive video it must be made the active video output control by setting the output property of QVideoOutputControl to WidgetOutput. Consequently any QMediaService that implements QVideoWidgetControl must also implement QVideoOutputControl.
The interface name of QVideoWidgetControl is com.nokia.Qt.QVideoWidgetControl/1.0 as defined in QVideoWidgetControl_iid.
See also QMediaService::requestControl(), QVideoOutputControl, 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.
See also setAspectRatioMode().
Returns the brightness adjustment applied to a video.
Valid brightness values range between -100 and 100, the default is 0.
See also setBrightness().
Signals that a video widget's brightness adjustment has changed.
Returns the contrast adjustment applied to a video.
Valid contrast values range between -100 and 100, the default is 0.
See also setContrast().
Signals that a video widget's contrast adjustment has changed.
Signals that the fullScreen state of a video widget has changed.
Returns the hue adjustment applied to a video widget.
Value hue values range between -100 and 100, the default is 0.
See also setHue().
Signals that a video widget's hue adjustment has changed.
Returns true if the video is shown using the complete screen.
Returns the saturation adjustment applied to a video widget.
Value saturation values range between -100 and 100, the default is 0.
See also setSaturation().
Signals that a video widget's saturation adjustment has changed.
Sets the aspect ratio mode which determines how video is scaled to the fit the widget with respect to its aspect ratio.
See also aspectRatioMode().
Sets a brightness adjustment for a video.
Valid brightness values range between -100 and 100, the default is 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.
See also contrast().
Sets whether a video widget is in fullScreen mode.
See also isFullScreen().
Sets a hue adjustment for a video widget.
Valid hue values range between -100 and 100, the default is 0.
See also hue().
Sets a saturation adjustment for a video widget.
Valid saturation values range between -100 and 100, the default is 0.
See also saturation().
Returns the QWidget.
com.nokia.Qt.QVideoWidgetControl/1.0
Defines the interface name of the QVideoWidgetControl class.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.1 |