QVideoWidgetControl Class
The QVideoWidgetControl class provides a media control which implements a video widget. More...
| Header: | #include <QVideoWidgetControl> |
| qmake: | QT += multimediawidgets |
| Inherits: | QMediaControl |
Macros
Detailed Description
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 org.qt-project.qt.videowidgetcontrol/5.0 as defined in QVideoWidgetControl_iid.
See also QMediaService::requestControl() and QVideoWidget.
Macro Documentation
QVideoWidgetControl_iid
org.qt-project.qt.videowidgetcontrol/5.0
Defines the interface name of the QVideoWidgetControl class.