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

#include <QGst/Quick/VideoItem>

Inherits QQuickItem.

Public Member Functions

 VideoItem (QQuickItem *parent=0)
 
VideoSurfacesurface () const
 
void setSurface (VideoSurface *surface)
 

Protected Member Functions

virtual QSGNode * updatePaintNode (QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData)
 

Properties

QGst::Quick::VideoSurfacesurface
 

Detailed Description

A QQuickItem for displaying video.

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

See also
VideoSurface

Definition at line 39 of file videoitem.h.

Constructor & Destructor Documentation

◆ VideoItem()

VideoItem::VideoItem ( QQuickItem *  parent = 0)
explicit

Definition at line 35 of file videoitem.cpp.

◆ ~VideoItem()

VideoItem::~VideoItem ( )
virtual

Definition at line 42 of file videoitem.cpp.

Member Function Documentation

◆ surface()

VideoSurface * VideoItem::surface ( ) const

Definition at line 48 of file videoitem.cpp.

◆ setSurface()

void VideoItem::setSurface ( VideoSurface surface)

Definition at line 53 of file videoitem.cpp.

◆ updatePaintNode()

QSGNode * VideoItem::updatePaintNode ( QSGNode *  oldNode,
UpdatePaintNodeData *  updatePaintNodeData 
)
protectedvirtual

Reimplemented from QQuickItem.

Definition at line 67 of file videoitem.cpp.

Property Documentation

◆ surface

QGst::Quick::VideoSurface* QGst::Quick::VideoItem::surface
readwrite

Definition at line 43 of file videoitem.h.


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