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>
Signals | |
void | setChannelMode () |
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- animation for channels --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- | |
void | goToChannel (int channel) |
void | channelNumEdited (int frame) |
void | selectChannel (int channel) |
void | channelMovieState (int currentFrame, bool direction, int stepSize, int frameStart, int frameEnd) |
void | setChannelMovieRate (int frame) |
void stopChannelMovie( ); | |
void | toChannelMovieStart () |
void | revStepChannelMovie () |
void | revPlayChannelMovie () |
void | stopChannelMovie () |
void | fwdStepChannelMovie () |
void | fwdPlayChannelMovie () |
void | toChannelMovieEnd () |
void | setImageMode (bool channelCubes) |
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- animation for images --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- | |
void | goToImage (int image) |
void | imageNumEdited (int frame) |
void | selectImage (int channel) |
void | imageMovieState (int currentFrame, bool direction, int stepSize, int frameStart, int frameEnd) |
void | stopImageMovie () |
void | setImageMovieRate (int frame) |
void | toImageMovieStart () |
void | revStepImageMovie () |
void | revPlayImageMovie () |
void | fwdStepImageMovie () |
void stopImageMovie( ); | |
void | fwdPlayImageMovie () |
void | toImageMovieEnd () |
void | lowerBoundAnimatorImageChanged (int) |
void | upperBoundAnimatorImageChanged (int) |
void | stepSizeAnimatorImageChanged (int) |
void | lowerBoundAnimatorChannelChanged (int) |
void | upperBoundAnimatorChannelChanged (int) |
void | stepSizeAnimatorChannelChanged (int) |
void | animationImageChanged (int) |
Public Member Functions | |
AnimatorHolder (QtDisplayPanelGui *qdp, 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, bool select=true) |
int | getRate (bool mode) const |
int | getLowerBoundChannel () const |
int | getUpperBoundChannel () const |
int | getChannelCount () const |
int | getImageCount () const |
void | setChannelZAxis (const QString &zAxisTite) |
void | foldChannel () |
void | unfoldChannel () |
void | foldImage () |
void | unfoldImage () |
~AnimatorHolder () | |
void | dismiss () |
Static Public Attributes | |
static const bool | BLINK_MODE |
static const bool | NORMAL_MODE |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
Private Types | |
enum | Mode { CHANNEL_MODE, IMAGE_MODE, CHANNEL_IMAGES_MODE, END_MODE } |
Private Slots | |
void | gotochannel_p (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_p (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 () |
void | handle_folding (bool visible) |
void | handle_visibility (bool) |
Private Member Functions | |
void | initChannel () |
void | initImage () |
void | sizeGroupBox (QGroupBox *) |
int | getAnimationCount () const |
void | addRemoveChannelAnimatorBasedOnFrameCount () |
int | find_height () const |
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 |
AnimatorWidget * | animatorChannel |
AnimatorWidget * | animatorImage |
QColor | selectedColor |
QColor | backgroundColor |
QtDisplayPanelGui * | panel_ |
bool | dismissed |
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 40 of file AnimatorHolder.qo.h.
enum casa::AnimatorHolder::Mode [private] |
Definition at line 184 of file AnimatorHolder.qo.h.
casa::AnimatorHolder::AnimatorHolder | ( | QtDisplayPanelGui * | qdp, | |
QWidget * | parent = 0 | |||
) |
casa::AnimatorHolder::~AnimatorHolder | ( | ) |
void casa::AnimatorHolder::addRemoveChannelAnimatorBasedOnFrameCount | ( | ) | [private] |
void casa::AnimatorHolder::animationImageChanged | ( | int | ) | [signal] |
void casa::AnimatorHolder::changePalette | ( | QGroupBox * | box, | |
QColor | color | |||
) | [private] |
void casa::AnimatorHolder::channelMovieState | ( | int | currentFrame, | |
bool | direction, | |||
int | stepSize, | |||
int | frameStart, | |||
int | frameEnd | |||
) | [signal] |
void casa::AnimatorHolder::channelNumEdited | ( | int | frame | ) | [signal] |
void casa::AnimatorHolder::closeEvent | ( | QCloseEvent * | event | ) | [protected] |
void casa::AnimatorHolder::dismiss | ( | ) |
void casa::AnimatorHolder::emitMovieChannels | ( | bool | direction | ) | [private] |
int casa::AnimatorHolder::find_height | ( | ) | const [private] |
void casa::AnimatorHolder::foldChannel | ( | ) |
void casa::AnimatorHolder::foldImage | ( | ) |
void casa::AnimatorHolder::frameNumberEditedChannel | ( | int | frame | ) | [private, slot] |
void casa::AnimatorHolder::frameNumberEditedImage | ( | int | frame | ) | [private, slot] |
void casa::AnimatorHolder::fwdPlayChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::fwdPlayChannelMovie | ( | ) | [signal] |
void casa::AnimatorHolder::fwdPlayImage | ( | ) | [private, slot] |
void casa::AnimatorHolder::fwdPlayImageMovie | ( | ) | [signal] |
void casa::AnimatorHolder::fwdStepChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::fwdStepChannelMovie | ( | ) | [signal] |
void casa::AnimatorHolder::fwdStepImage | ( | ) | [private, slot] |
void casa::AnimatorHolder::fwdStepImageMovie | ( | ) | [signal] |
void stopImageMovie( );
int casa::AnimatorHolder::getAnimationCount | ( | ) | const [private] |
int casa::AnimatorHolder::getChannelCount | ( | ) | const |
int casa::AnimatorHolder::getImageCount | ( | ) | const |
int casa::AnimatorHolder::getLowerBoundChannel | ( | ) | const |
int casa::AnimatorHolder::getRate | ( | bool | mode | ) | const |
int casa::AnimatorHolder::getUpperBoundChannel | ( | ) | const |
void casa::AnimatorHolder::goToChannel | ( | int | channel | ) | [signal] |
void casa::AnimatorHolder::gotochannel_p | ( | int | frame | ) | [private, slot] |
void casa::AnimatorHolder::goToImage | ( | int | image | ) | [signal] |
void casa::AnimatorHolder::gotoimage_p | ( | int | frame | ) | [private, slot] |
void casa::AnimatorHolder::handle_folding | ( | bool | visible | ) | [private, slot] |
void casa::AnimatorHolder::handle_visibility | ( | bool | ) | [private, slot] |
void casa::AnimatorHolder::imageMovieState | ( | int | currentFrame, | |
bool | direction, | |||
int | stepSize, | |||
int | frameStart, | |||
int | frameEnd | |||
) | [signal] |
void casa::AnimatorHolder::imageNumEdited | ( | int | frame | ) | [signal] |
void casa::AnimatorHolder::initChannel | ( | ) | [private] |
void casa::AnimatorHolder::initImage | ( | ) | [private] |
void casa::AnimatorHolder::lowerBoundAnimatorChannelChanged | ( | int | ) | [signal] |
void casa::AnimatorHolder::lowerBoundAnimatorImageChanged | ( | int | ) | [signal] |
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::revPlayChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::revPlayChannelMovie | ( | ) | [signal] |
void casa::AnimatorHolder::revPlayImage | ( | ) | [private, slot] |
void casa::AnimatorHolder::revPlayImageMovie | ( | ) | [signal] |
void casa::AnimatorHolder::revStepChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::revStepChannelMovie | ( | ) | [signal] |
void casa::AnimatorHolder::revStepImage | ( | ) | [private, slot] |
void casa::AnimatorHolder::revStepImageMovie | ( | ) | [signal] |
void casa::AnimatorHolder::selectChannel | ( | int | channel | ) | [signal] |
void casa::AnimatorHolder::selectImage | ( | int | channel | ) | [signal] |
void casa::AnimatorHolder::setChannelMode | ( | ) | [signal] |
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- animation for channels --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
void casa::AnimatorHolder::setChannelModeEnabled | ( | int | count, | |
bool | select = true | |||
) |
void casa::AnimatorHolder::setChannelMovieRate | ( | int | frame | ) | [signal] |
void stopChannelMovie( );
void casa::AnimatorHolder::setChannelZAxis | ( | const QString & | zAxisTite | ) |
void casa::AnimatorHolder::setFrameInformation | ( | bool | mode, | |
int | frm, | |||
int | len | |||
) |
void casa::AnimatorHolder::setImageMode | ( | bool | channelCubes | ) | [signal] |
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- animation for images --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
void casa::AnimatorHolder::setImageMovieRate | ( | int | frame | ) | [signal] |
void casa::AnimatorHolder::setModeEnabled | ( | int | count | ) |
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::sizeGroupBox | ( | QGroupBox * | ) | [private] |
void casa::AnimatorHolder::stepSizeAnimatorChannelChanged | ( | int | ) | [signal] |
void casa::AnimatorHolder::stepSizeAnimatorImageChanged | ( | int | ) | [signal] |
void casa::AnimatorHolder::stepSizeChangedChannel | ( | int | ) | [private, slot] |
void casa::AnimatorHolder::stepSizeChangedImage | ( | int | ) | [private, slot] |
void casa::AnimatorHolder::stopChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::stopChannelMovie | ( | ) | [signal] |
void casa::AnimatorHolder::stopChannelPlay | ( | ) | [private] |
void casa::AnimatorHolder::stopImage | ( | ) | [private, slot] |
void casa::AnimatorHolder::stopImageMovie | ( | ) | [signal] |
void casa::AnimatorHolder::stopImagePlay | ( | ) | [private] |
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::toChannelMovieEnd | ( | ) | [signal] |
void casa::AnimatorHolder::toChannelMovieStart | ( | ) | [signal] |
void casa::AnimatorHolder::toEndChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::toEndImage | ( | ) | [private, slot] |
void casa::AnimatorHolder::toImageMovieEnd | ( | ) | [signal] |
void casa::AnimatorHolder::toImageMovieStart | ( | ) | [signal] |
void casa::AnimatorHolder::toStartChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::toStartImage | ( | ) | [private, slot] |
void casa::AnimatorHolder::unfoldChannel | ( | ) |
void casa::AnimatorHolder::unfoldImage | ( | ) |
void casa::AnimatorHolder::upperBoundAnimatorChannelChanged | ( | int | ) | [signal] |
void casa::AnimatorHolder::upperBoundAnimatorImageChanged | ( | int | ) | [signal] |
void casa::AnimatorHolder::upperBoundChangedChannel | ( | int | ) | [private, slot] |
void casa::AnimatorHolder::upperBoundChangedImage | ( | int | ) | [private, slot] |
Definition at line 197 of file AnimatorHolder.qo.h.
Definition at line 198 of file AnimatorHolder.qo.h.
QColor casa::AnimatorHolder::backgroundColor [private] |
Definition at line 200 of file AnimatorHolder.qo.h.
const bool casa::AnimatorHolder::BLINK_MODE [static] |
Definition at line 44 of file AnimatorHolder.qo.h.
bool casa::AnimatorHolder::dismissed [private] |
Definition at line 204 of file AnimatorHolder.qo.h.
const bool casa::AnimatorHolder::NORMAL_MODE [static] |
Definition at line 45 of file AnimatorHolder.qo.h.
QtDisplayPanelGui* casa::AnimatorHolder::panel_ [private] |
Definition at line 202 of file AnimatorHolder.qo.h.
Mode casa::AnimatorHolder::previousMode [private] |
Definition at line 196 of file AnimatorHolder.qo.h.
QColor casa::AnimatorHolder::selectedColor [private] |
Definition at line 199 of file AnimatorHolder.qo.h.