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

VideoView Class Reference

#include <videoview.h>

Inheritance diagram for VideoView:

Observer FrameView GstVideoView List of all members.

Signals

void cameraReady ()

Public Member Functions

 VideoView (QWidget *parent=0, const char *name=0, WFlags f=0)
 ~VideoView ()
virtual bool on ()
virtual void off ()
virtual void capture ()
virtual void setPlaybackSpeed (int playbackSpeed)
virtual void initCompleted ()
virtual void updateAdd (const vector< char * > &frames, unsigned int, Frontend *)
virtual void updateRemove (unsigned int, unsigned int)
virtual void updateMove (unsigned int fromFrame, unsigned int toFrame, unsigned int movePosition)
virtual void updateNewActiveFrame (int frameNumber)
virtual void updateClear ()
virtual void updatePlayFrame (int frameNumber)
virtual void updateNewScene (int index)
virtual void updateRemoveScene (int sceneNumber)
virtual void updateMoveScene (int sceneNumber, int movePosition)
virtual void updateNewActiveScene (int sceneNumber, vector< char * > frames, Frontend *frontend)
virtual void updateAnimationChanged (vector< Frame * > &frames)
void setMixCount (int mixCount)
virtual bool setViewMode (int mode)
virtual int getViewMode ()

Protected Member Functions

virtual void initCamera ()

Protected Attributes

int mixCount

Detailed Description

Abstract class for the widgets who displays video to the users.

Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Constructor & Destructor Documentation

VideoView::VideoView QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Initializes the videoview and register local attributes.

Parameters:
parent the parent of the widget.
name the name of the widget.

VideoView::~VideoView  ) 
 

Cleans up after the widget


Member Function Documentation

void VideoView::initCompleted  )  [virtual]
 

Function which is called by the initThread when it is done running. This function then signals the cameraHandler who again can adjust the various buttons accordingly.

void VideoView::updateAdd const vector< char * > &  frames,
unsigned  int,
Frontend
[virtual]
 

Function to recieven notification when a frame is added.

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateClear  )  [virtual]
 

Function to receive notification when the model is erased.

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateMove unsigned int  fromFrame,
unsigned int  toFrame,
unsigned int  movePosition
[virtual]
 

Function to recieve notification when one or more frames are moved.

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateMoveScene int  sceneNumber,
int  movePosition
[virtual]
 

Function which recieve notification when a scene in the animation has been moved.

Parameters:
sceneNumber the scene which have been moved.
movePosition the position the scene has been moved to.

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateNewActiveFrame int  frameNumber  )  [virtual]
 

Function to recieve notification when a new frame is selected.

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateNewActiveScene int  sceneNumber,
vector< char * >  frames,
Frontend frontend
[virtual]
 

Abstract function for recieving notification when a new scene is set as the current "active" scene.

Parameters:
sceneNumber the new active scene.
framePaths a vector containing the paths to the frames.
frontend the frontend for processing events while adding frames.

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateNewScene int  index  )  [virtual]
 

Function to recieve notification when a new scene is added to the model.

Parameters:
index the index of the new scene.

Implements Observer.

Reimplemented in FrameView.

void VideoView::updatePlayFrame int  frameNumber  )  [virtual]
 

Function to recieve notification when a frame is to be played.

Parameters:
frameNumber the frame to be played

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateRemove unsigned  int,
unsigned  int
[virtual]
 

Function to recieve notification when one or more frames are deleted.

Parameters:
frameNumber the frame to remove

Implements Observer.

Reimplemented in FrameView.

void VideoView::updateRemoveScene int  sceneNumber  )  [virtual]
 

Function to recueve notification when a scene is removed from the model.

Parameters:
sceneNumber the scene which has been removed from the model.

Implements Observer.

Reimplemented in FrameView.


Member Data Documentation

int VideoView::mixCount [protected]
 

Number of images backwards which should be mixed onto the camera


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