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

SceneThumbView Class Reference

#include <scenethumbview.h>

Inheritance diagram for SceneThumbView:

ThumbView ThumbView List of all members.

Public Slots

void closeScene ()
void closeScene ()

Public Member Functions

 SceneThumbView (FrameBar *frameBar, QWidget *parent=0, int number=0, const char *name=0)
 ~SceneThumbView ()
void setOpened (bool isOpened)
bool getIsOpened ()
virtual void resizeThumb (int height)
 SceneThumbView (FrameBar *frameBar, QWidget *parent=0, int number=0)
 ~SceneThumbView ()
void setOpened (bool isOpened)
bool getIsOpened ()

Protected Member Functions

virtual void paintEvent (QPaintEvent *p)
void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
void mouseMoveEvent (QMouseEvent *me)
virtual void contentsDropped (QDropEvent *event)
virtual void paintEvent (QPaintEvent *p)
void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
void mouseMoveEvent (QMouseEvent *me)
void dragEnterEvent (QDragEnterEvent *event)
void dropEvent (QDropEvent *event)

Detailed Description

Custom widget representing a scene in the framebar.

Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Constructor & Destructor Documentation

SceneThumbView::SceneThumbView FrameBar frameBar,
QWidget *  parent = 0,
int  number = 0,
const char *  name = 0
 

Initializes the SceneThumbView widgets attributes.

Parameters:
frameBar the frameBar for communication.
parent the parent of this widget.
number the number of the scene this widget represents.

SceneThumbView::~SceneThumbView  ) 
 

Clean up after the SceneThumbView.

SceneThumbView::SceneThumbView FrameBar frameBar,
QWidget *  parent = 0,
int  number = 0
 

Initializes the SceneThumbView widgets attributes.

Parameters:
frameBar the frameBar for communication.
parent the parent of this widget.
number the number of the scene this widget represents.

SceneThumbView::~SceneThumbView  ) 
 

Clean up after the SceneThumbView.


Member Function Documentation

void SceneThumbView::closeScene  )  [slot]
 

Closes the active scene.

void SceneThumbView::closeScene  )  [slot]
 

Closes the scene.

void SceneThumbView::contentsDropped QDropEvent *  event  )  [protected, virtual]
 

Notifies the scenethumbview that a drop have happened inside its borders.

Parameters:
event information about the event.

Reimplemented from ThumbView.

void SceneThumbView::dragEnterEvent QDragEnterEvent *  event  )  [protected]
 

Overloaded event function for when when a drag enters the scenethumbview.

Parameters:
event information about the dragEnterEvent

void SceneThumbView::dropEvent QDropEvent *  event  )  [protected]
 

Overloaded event function for when a drop event occur in the scenethumbview. Used for moving scenes.

Parameters:
event information about the dropEvent

bool SceneThumbView::getIsOpened  ) 
 

Checks if the scene is opened of closed.

Returns:
true if opened, false if closed

bool SceneThumbView::getIsOpened  ) 
 

Returns whether the scene is opened.

Returns:
true if the scene is currently opened.

void SceneThumbView::mouseMoveEvent QMouseEvent *  me  )  [protected]
 

Overloaded event function to recieve mouseMoveEvents in the scenethumbview. Used for moving scenes.

Parameters:
me information about the mouseMoveEvent.

void SceneThumbView::mouseMoveEvent QMouseEvent *  me  )  [protected]
 

Overloaded event function to recieve mouseMoveEvents in the scenethumbview. Used for moving scenes.

Parameters:
me information about the mouseMoveEvent.

void SceneThumbView::mousePressEvent QMouseEvent *  e  )  [protected]
 

Overloaded event function to recieve mousepress-events.

Parameters:
e information about the mousepress-event.

void SceneThumbView::mousePressEvent QMouseEvent *  e  )  [protected]
 

Overloaded event function to recieve mousepress-events.

Parameters:
e information about the mousepress-event.

void SceneThumbView::mouseReleaseEvent QMouseEvent *  e  )  [protected]
 

Overloaded event function to recieve mouserelease events.

Parameters:
e information about the event.

void SceneThumbView::mouseReleaseEvent QMouseEvent *  e  )  [protected]
 

Overloaded event function to recieve mouserelease events.

Parameters:
e information about the event.

virtual void SceneThumbView::paintEvent QPaintEvent *  p  )  [protected, virtual]
 

Overloaded function to paint the widget.

Parameters:
p information about the paintEvent.

void SceneThumbView::paintEvent QPaintEvent *  p  )  [protected, virtual]
 

Overloaded function to paint the widget.

Parameters:
p information about the paintEvent.

void SceneThumbView::resizeThumb int  height  )  [virtual]
 

Resizes the scenethumbview.

Parameters:
height the new height of the widget.

Reimplemented from ThumbView.

void SceneThumbView::setOpened bool  isOpened  )  [virtual]
 

Sets if the scene is opened or closed.

Parameters:
isOpened true if the scene is opened.

Reimplemented from ThumbView.

void SceneThumbView::setOpened bool  isOpened  )  [virtual]
 

Sets if the scene is opened or closed.

Parameters:
isOpened true if the scene is opened.

Reimplemented from ThumbView.


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