#include <thumbview.h>
Inheritance diagram for ThumbView:
Public Member Functions | |
ThumbView (FrameBar *frameBar, QWidget *parent, int number, const char *name=0) | |
~ThumbView () | |
virtual void | setNumber (int number) |
int | getNumber () |
virtual void | setHasSounds (bool hasSounds) |
virtual void | setSelected (bool selected) |
virtual void | setOpened (bool isOpened) |
virtual void | contentsDropped (QDropEvent *event) |
virtual void | resizeThumb (int height) |
Protected Attributes | |
FrameBar * | frameBar |
int | number |
QPoint | dragPos |
|
Creates and sets up the thumbview class.
|
|
Cleans up after the widget. |
|
Notifies the thumbview that a drop have happened inside its borders. The reason it doesn't accept it itself is that the framebar need the information so that it can autoscroll.
Reimplemented in FrameThumbView, and SceneThumbView. |
|
Retrieves the number of this ThumbView in the framebar
|
|
Resizes the thumbview.
Reimplemented in FrameThumbView, and SceneThumbView. |
|
Abstract function for telling a framethumbview that it has one or more sounds attatched to it.
Reimplemented in FrameThumbView. |
|
Function to set the number of this ThumbView in the framebar when the ThumbView change position.
Reimplemented in FrameThumbView. |
|
Abstract function for telling a scenethumbview whether the scene is opened or closed
Reimplemented in SceneThumbView, and SceneThumbView. |
|
Sets whether a framethumbview should be marked as selected.
Reimplemented in FrameThumbView. |
|
Coordinate for calculating when a drag should start to give some slack |
|
The framebar for communicating with it |
|
The number this frame has in the framebar |