casa
$Rev:20696$
|
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 | 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 |
AnimatorWidget * | animatorChannel |
AnimatorWidget * | animatorImage |
QColor | selectedColor |
QColor | backgroundColor |
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.
enum casa::AnimatorHolder::Mode [private] |
Definition at line 116 of file AnimatorHolder.qo.h.
casa::AnimatorHolder::AnimatorHolder | ( | QWidget * | parent = 0 | ) |
bool casa::AnimatorHolder::addChannelGroupBox | ( | ) | [private] |
void casa::AnimatorHolder::addImageGroupBox | ( | ) | [private] |
void casa::AnimatorHolder::addRemoveChannelAnimatorBasedOnFrameCount | ( | ) | [private] |
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::getLowerBoundChannel | ( | ) | const |
int casa::AnimatorHolder::getRate | ( | bool | mode | ) | const |
int casa::AnimatorHolder::getUpperBoundChannel | ( | ) | 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::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::movieChannels | ( | int | currentFrame, |
bool | direction, | ||
int | stepSize, | ||
int | frameStart, | ||
int | frameEnd | ||
) | [signal] |
void casa::AnimatorHolder::removeChannelGroupBox | ( | ) | [private] |
bool casa::AnimatorHolder::removeImageGroupBox | ( | ) | [private] |
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::setChannelModeEnabled | ( | int | count | ) |
void casa::AnimatorHolder::setFrameInformation | ( | bool | mode, |
int | frm, | ||
int | len | ||
) |
void casa::AnimatorHolder::setHeightFixed | ( | ) | [private] |
void casa::AnimatorHolder::setMode | ( | bool | mode | ) | [signal] |
void casa::AnimatorHolder::setModeEnabled | ( | int | count | ) |
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::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::stop | ( | ) | [signal] |
void casa::AnimatorHolder::stopChannel | ( | ) | [private, slot] |
void casa::AnimatorHolder::stopChannelPlay | ( | ) | [private] |
void casa::AnimatorHolder::stopImage | ( | ) | [private, slot] |
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::stopMovie | ( | ) | [signal] |
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::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 130 of file AnimatorHolder.qo.h.
Definition at line 131 of file AnimatorHolder.qo.h.
QColor casa::AnimatorHolder::backgroundColor [private] |
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.
Mode casa::AnimatorHolder::previousMode [private] |
Definition at line 128 of file AnimatorHolder.qo.h.
QColor casa::AnimatorHolder::selectedColor [private] |
Definition at line 132 of file AnimatorHolder.qo.h.
Ui::AnimatorHolder casa::AnimatorHolder::ui [private] |
Definition at line 129 of file AnimatorHolder.qo.h.