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. http://ronald.bitfreak.net/me/kiss.php

Deprecated:
Author:
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.

Parameters:
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]
 

Todo:
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.

Parameters:
information about the paintEvent.

void GstVideoView::resizeEvent QResizeEvent *   )  [protected]
 

Overloaded function for resizing the widget.

Parameters:
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