Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

GstVideoView Class Reference

#include <gstvideoview.h>

Inheritance diagram for GstVideoView:

VideoView Observer List of all members.

Public Member Functions

 GstVideoView (QWidget *parent=0, const char *name=0)
 ~GstVideoView ()
void on (const char *device)
void off ()
void capture ()

Protected Member Functions

void resizeEvent (QResizeEvent *)
void paintEvent (QPaintEvent *)
void initCamera ()

Detailed Description

Widget for displaying video to the user.

This widget is a reimplementation of the class ``video'' from the KISS media player application by Ronald Bultje.

Bjoern Erik Nilsen & Fredrik Berg Kjoelstad

Constructor & Destructor Documentation

GstVideoView::GstVideoView QWidget *  parent = 0,
const char *  name = 0

Initializes the videoview and register local attributes.

videoSink the gstreamer sink from which to get the video to display in the widget.
parent the parent of the widget.
name the name of the widget.

GstVideoView::~GstVideoView  ) 

Cleans up after the widget

Member Function Documentation

void GstVideoView::initCamera  )  [protected, virtual]

perform cleanup pf the elements

exhange imageCaptureBin for a snapshot plugin to remove the crashes which occurs sometimes when capturing the first frames.

Reimplemented from VideoView.

void GstVideoView::paintEvent QPaintEvent *   )  [protected]

Overloaded function for painting the widget.

The widget is painted using x overlays.

information about the paintEvent.

void GstVideoView::resizeEvent QResizeEvent *   )  [protected]

Overloaded function for resizing the widget.

information about the resizeEvent.

The documentation for this class was generated from the following files:
Generated on Thu May 19 01:51:21 2005 for stopmotion.kdevelop by  doxygen 1.4.2