#include <frameview.h>
Inheritance diagram for FrameView:
Public Slots | |
void | redraw () |
void | nextPlayBack () |
Public Member Functions | |
FrameView (QWidget *parent=0, const char *name=0, int playbackSpeed=10) | |
~FrameView () | |
void | setWidescreenRatio () |
void | setNormalRatio () |
void | updateAdd (const vector< char * > &frames, unsigned int, Frontend *) |
void | updateRemove (unsigned int, unsigned int) |
void | updateMove (unsigned int fromFrame, unsigned int toFrame, unsigned int movePosition) |
void | updateNewActiveFrame (int frameNumber) |
void | updateClear () |
void | updatePlayFrame (int frameNumber) |
void | updateNewScene (int index) |
void | updateRemoveScene (int sceneNumber) |
void | updateMoveScene (int sceneNumber, int movePosition) |
void | updateNewActiveScene (int sceneNumber, vector< char * > frames, Frontend *frontend) |
void | updateAnimationChanged (int frameNumber) |
bool | on () |
void | off () |
bool | setViewMode (int mode) |
int | getViewMode () |
void | setPlaybackSpeed (int playbackSpeed) |
void | capture () |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *) |
void | paintEvent (QPaintEvent *) |
Note: I'm considering redesigning the entire framework around this class, both to make it more intuiative and to work with dynamic plugins for filters such as onionskinning, diffing, you name it! (plugins are cool) =) However this is not very important and is left for a weekend where i'm bored :p
|
Creates and initializes the frameview.
|
|
Cleans up after the frameview. |
|
When a new frame is captured this function is notified and updates the vector of cached frames for the mixing Reimplemented from VideoView. |
|
Returns the view mode.
Reimplemented from VideoView. |
|
Function for performing playbacks. Will call redraw with regular intervals. |
|
Turns off the webcamera/video import mode. Reimplemented from VideoView. |
|
Turns on the webcamera/video import mode. Reimplemented from VideoView. |
|
Draws the next frame from the camera. |
|
Sets the view to 16:9 format. |
|
Sets the speed for the playback.
Reimplemented from VideoView. |
|
Sets the viewing mode/type of effect used when displaying the video.
Reimplemented from VideoView. |
|
Sets the view to 4:3 format. |
|
Function to recieven notification when a frame is added.
Reimplemented from VideoView. |
|
Updates the frameview when an external program has altered the disk files.
Implements Observer. |
|
Function to receive notification when the model is erased. Reimplemented from VideoView. |
|
Function to recieve notification when one or more frames are moved. Reimplemented from VideoView. |
|
Function which recieve notification when a scene in the animation has been moved.
Reimplemented from VideoView. |
|
Function to recieve notification when a new frame is selected. Reimplemented from VideoView. |
|
Function which recieves notification when a scene is selected as the active scene in the animationmodel.
Reimplemented from VideoView. |
|
Function to recieve notification when a new scene is added to the model.
Reimplemented from VideoView. |
|
Function to recieve notification when a frame is to be played.
Reimplemented from VideoView. |
|
Function to recieve notification when one or more frames are deleted. Reimplemented from VideoView. |
|
Function to recueve notification when a scene is removed from the model.
Reimplemented from VideoView. |