QtGStreamer 1.2.0
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
QGst::Ui::GraphicsVideoWidget Class Reference

#include <QGst/Ui/GraphicsVideoWidget>

Inherits QGraphicsWidget.

Public Member Functions

 GraphicsVideoWidget (QGraphicsItem *parent=0, Qt::WindowFlags wFlags=0)
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
 
GraphicsVideoSurfacesurface () const
 
void setSurface (GraphicsVideoSurface *surface)
 

Properties

QGst::Ui::GraphicsVideoSurfacesurface
 

Detailed Description

A QGraphicsWidget for displaying video on a QGraphicsScene.

This is a QGraphicsWidget subclass that can display video. To use it, you have to create a GraphicsVideoSurface and connect it with this widget using the setSurface() method or the surface property. See the GraphicsVideoSurface documentation for details and examples.

See also
GraphicsVideoSurface

Definition at line 43 of file graphicsvideowidget.h.

Constructor & Destructor Documentation

◆ GraphicsVideoWidget()

QGst::Ui::GraphicsVideoWidget::GraphicsVideoWidget ( QGraphicsItem *  parent = 0,
Qt::WindowFlags  wFlags = 0 
)
explicit

Definition at line 25 of file graphicsvideowidget.cpp.

◆ ~GraphicsVideoWidget()

QGst::Ui::GraphicsVideoWidget::~GraphicsVideoWidget ( )
virtual

Definition at line 31 of file graphicsvideowidget.cpp.

Member Function Documentation

◆ paint()

void QGst::Ui::GraphicsVideoWidget::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
)
virtual

Reimplemented from QGraphicsWidget. Do not call directly.

Definition at line 54 of file graphicsvideowidget.cpp.

◆ surface()

GraphicsVideoSurface * QGst::Ui::GraphicsVideoWidget::surface ( ) const

Definition at line 36 of file graphicsvideowidget.cpp.

◆ setSurface()

void QGst::Ui::GraphicsVideoWidget::setSurface ( GraphicsVideoSurface surface)

Definition at line 41 of file graphicsvideowidget.cpp.

Property Documentation

◆ surface

QGst::Ui::GraphicsVideoSurface* QGst::Ui::GraphicsVideoWidget::surface
readwrite

Definition at line 47 of file graphicsvideowidget.h.


The documentation for this class was generated from the following files: