casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Public Member Functions | Static Public Attributes | Private Types | Private Slots | Private Member Functions | Private Attributes
casa::AnimatorHolder Class Reference

Manages the Animator display on the viewer that allows users to scroll through either the channels withen an image or between loaded images. More...

#include <AnimatorHolder.qo.h>

List of all members.

Signals

void goTo (int frame)
void frameNumberEdited (int frame)
void channelSelect (int channel)
void movieChannels (int currentFrame, bool direction, int stepSize, int frameStart, int frameEnd)
void stopMovie ()
void setRate (int frame)
void toStart ()
void revStep ()
void revPlay ()
void stop ()
void fwdStep ()
void fwdPlay ()
void toEnd ()
void setMode (bool mode)
void lowerBoundAnimatorImageChanged (int)
void upperBoundAnimatorImageChanged (int)
void stepSizeAnimatorImageChanged (int)
void lowerBoundAnimatorChannelChanged (int)
void upperBoundAnimatorChannelChanged (int)
void stepSizeAnimatorChannelChanged (int)

Public Member Functions

 AnimatorHolder (QWidget *parent=0)
void setFrameInformation (bool mode, int frm, int len)
void setRateInformation (bool mode, int minr, int maxr, int rate)
void setModeEnabled (int count)
void setChannelModeEnabled (int count)
int getRate (bool mode) const
int getLowerBoundChannel () const
int getUpperBoundChannel () const
 ~AnimatorHolder ()

Static Public Attributes

static const bool BLINK_MODE
static const bool NORMAL_MODE

Private Types

enum  Mode {
  CHANNEL_MODE,
  IMAGE_MODE,
  CHANNEL_IMAGES_MODE,
  END_MODE
}

Private Slots

void goToChannel (int frame)
void setRateChannel (int frame)
void toStartChannel ()
void frameNumberEditedChannel (int frame)
void revStepChannel ()
void fwdPlayChannel ()
void revPlayChannel ()
void stopChannel ()
void fwdStepChannel ()
void toEndChannel ()
void upperBoundChangedChannel (int)
void lowerBoundChangedChannel (int)
void stepSizeChangedChannel (int)
void goToImage (int frame)
void setRateImage (int frame)
void toStartImage ()
void frameNumberEditedImage (int frame)
void revStepImage ()
void revPlayImage ()
void stopImage ()
void fwdStepImage ()
void fwdPlayImage ()
void toEndImage ()
void lowerBoundChangedImage (int)
void upperBoundChangedImage (int)
void stepSizeChangedImage (int)
void modeChange ()

Private Member Functions

void initChannel ()
void initImage ()
bool addChannelGroupBox ()
void addImageGroupBox ()
void removeChannelGroupBox ()
bool removeImageGroupBox ()
void setHeightFixed ()
int getAnimationCount () const
void addRemoveChannelAnimatorBasedOnFrameCount ()
void modeChanged (Mode mode)
void changePalette (QGroupBox *box, QColor color)
void emitMovieChannels (bool direction)
void setSelected (bool mode)
void stopImagePlay ()
 Because the user can switch between image and channel mode by just pressing the play button, there must be a way to turn a previous play off if one was running.
void stopChannelPlay ()

Private Attributes

Mode previousMode
Ui::AnimatorHolder ui
AnimatorWidgetanimatorChannel
AnimatorWidgetanimatorImage
QColor selectedColor
QColor backgroundColor

Detailed Description

Manages the Animator display on the viewer that allows users to scroll through either the channels withen an image or between loaded images.

Definition at line 37 of file AnimatorHolder.qo.h.


Member Enumeration Documentation

Enumerator:
CHANNEL_MODE 
IMAGE_MODE 
CHANNEL_IMAGES_MODE 
END_MODE 

Definition at line 116 of file AnimatorHolder.qo.h.


Constructor & Destructor Documentation

casa::AnimatorHolder::AnimatorHolder ( QWidget *  parent = 0)

Member Function Documentation

void casa::AnimatorHolder::changePalette ( QGroupBox *  box,
QColor  color 
) [private]
void casa::AnimatorHolder::channelSelect ( int  channel) [signal]
void casa::AnimatorHolder::emitMovieChannels ( bool  direction) [private]
void casa::AnimatorHolder::frameNumberEdited ( int  frame) [signal]
void casa::AnimatorHolder::frameNumberEditedChannel ( int  frame) [private, slot]
void casa::AnimatorHolder::frameNumberEditedImage ( int  frame) [private, slot]
void casa::AnimatorHolder::fwdPlay ( ) [signal]
void casa::AnimatorHolder::fwdPlayChannel ( ) [private, slot]
void casa::AnimatorHolder::fwdPlayImage ( ) [private, slot]
void casa::AnimatorHolder::fwdStep ( ) [signal]
void casa::AnimatorHolder::fwdStepChannel ( ) [private, slot]
void casa::AnimatorHolder::fwdStepImage ( ) [private, slot]
int casa::AnimatorHolder::getAnimationCount ( ) const [private]
int casa::AnimatorHolder::getRate ( bool  mode) const
void casa::AnimatorHolder::goTo ( int  frame) [signal]
void casa::AnimatorHolder::goToChannel ( int  frame) [private, slot]
void casa::AnimatorHolder::goToImage ( int  frame) [private, slot]
void casa::AnimatorHolder::initImage ( ) [private]
void casa::AnimatorHolder::lowerBoundChangedChannel ( int  ) [private, slot]
void casa::AnimatorHolder::lowerBoundChangedImage ( int  ) [private, slot]
void casa::AnimatorHolder::modeChange ( ) [private, slot]
void casa::AnimatorHolder::modeChanged ( Mode  mode) [private]
void casa::AnimatorHolder::movieChannels ( int  currentFrame,
bool  direction,
int  stepSize,
int  frameStart,
int  frameEnd 
) [signal]
void casa::AnimatorHolder::revPlay ( ) [signal]
void casa::AnimatorHolder::revPlayChannel ( ) [private, slot]
void casa::AnimatorHolder::revPlayImage ( ) [private, slot]
void casa::AnimatorHolder::revStep ( ) [signal]
void casa::AnimatorHolder::revStepChannel ( ) [private, slot]
void casa::AnimatorHolder::revStepImage ( ) [private, slot]
void casa::AnimatorHolder::setFrameInformation ( bool  mode,
int  frm,
int  len 
)
void casa::AnimatorHolder::setMode ( bool  mode) [signal]
void casa::AnimatorHolder::setRate ( int  frame) [signal]
void casa::AnimatorHolder::setRateChannel ( int  frame) [private, slot]
void casa::AnimatorHolder::setRateImage ( int  frame) [private, slot]
void casa::AnimatorHolder::setRateInformation ( bool  mode,
int  minr,
int  maxr,
int  rate 
)
void casa::AnimatorHolder::setSelected ( bool  mode) [private]
void casa::AnimatorHolder::stepSizeChangedChannel ( int  ) [private, slot]
void casa::AnimatorHolder::stepSizeChangedImage ( int  ) [private, slot]
void casa::AnimatorHolder::stop ( ) [signal]
void casa::AnimatorHolder::stopChannel ( ) [private, slot]
void casa::AnimatorHolder::stopImage ( ) [private, slot]

Because the user can switch between image and channel mode by just pressing the play button, there must be a way to turn a previous play off if one was running.

The following two methods do that.

void casa::AnimatorHolder::toEnd ( ) [signal]
void casa::AnimatorHolder::toEndChannel ( ) [private, slot]
void casa::AnimatorHolder::toEndImage ( ) [private, slot]
void casa::AnimatorHolder::toStart ( ) [signal]
void casa::AnimatorHolder::toStartChannel ( ) [private, slot]
void casa::AnimatorHolder::toStartImage ( ) [private, slot]
void casa::AnimatorHolder::upperBoundChangedChannel ( int  ) [private, slot]
void casa::AnimatorHolder::upperBoundChangedImage ( int  ) [private, slot]

Member Data Documentation

Definition at line 130 of file AnimatorHolder.qo.h.

Definition at line 131 of file AnimatorHolder.qo.h.

Definition at line 133 of file AnimatorHolder.qo.h.

const bool casa::AnimatorHolder::BLINK_MODE [static]

Definition at line 42 of file AnimatorHolder.qo.h.

const bool casa::AnimatorHolder::NORMAL_MODE [static]

Definition at line 43 of file AnimatorHolder.qo.h.

Definition at line 128 of file AnimatorHolder.qo.h.

Definition at line 132 of file AnimatorHolder.qo.h.

Ui::AnimatorHolder casa::AnimatorHolder::ui [private]

Definition at line 129 of file AnimatorHolder.qo.h.


The documentation for this class was generated from the following file: