COPASI API
4.16.103
|
#include <CQAnimationControls.h>
Public Slots | |
void | slotBack () |
void | slotChangeInterval (int) |
void | slotForward () |
void | slotShowStep (int) |
void | slotStepBack () |
void | slotStepForward () |
void | slotStop () |
void | slotTogglePlayPause () |
Signals | |
void | backward () |
void | forward () |
void | pause () |
void | play () |
void | showStep (int) |
void | step_backward () |
void | step_forward () |
void | stop () |
Public Member Functions | |
CQAnimationControls (QWidget *parent=NULL) | |
bool | isPlaying () const |
void | setCurrentStep (size_t currentStep) |
void | setNumSteps (size_t numSteps) |
virtual | ~CQAnimationControls () |
Protected Member Functions | |
void | createActions () |
void | updateActions () |
void | updateButtons () |
Protected Attributes | |
size_t | mCurrentStep |
size_t | mNumSteps |
QTimer * | mpTimer |
bool | mShouldLoop |
Definition at line 15 of file CQAnimationControls.h.
CQAnimationControls::CQAnimationControls | ( | QWidget * | parent = NULL | ) |
Definition at line 11 of file CQAnimationControls.cpp.
References CQIconResource::backward, CQIconResource::forward, CQIconResource::icon(), mNumSteps, mpTimer, CQIconResource::play, CQIconResource::skipBackward, CQIconResource::skipForward, slotStepForward(), and CQIconResource::stop.
|
virtual |
Definition at line 72 of file CQAnimationControls.cpp.
|
signal |
Referenced by slotBack().
|
protected |
|
signal |
Referenced by slotForward().
bool CQAnimationControls::isPlaying | ( | ) | const |
Definition at line 67 of file CQAnimationControls.cpp.
References mpTimer.
Referenced by slotTogglePlayPause().
|
signal |
Referenced by slotTogglePlayPause().
|
signal |
Referenced by slotTogglePlayPause().
void CQAnimationControls::setCurrentStep | ( | size_t | currentStep | ) |
Definition at line 48 of file CQAnimationControls.cpp.
References mCurrentStep, mNumSteps, updateActions(), and updateButtons().
void CQAnimationControls::setNumSteps | ( | size_t | numSteps | ) |
|
signal |
Referenced by slotShowStep().
|
slot |
|
slot |
|
slot |
Definition at line 82 of file CQAnimationControls.cpp.
References forward(), and mNumSteps.
|
slot |
Definition at line 146 of file CQAnimationControls.cpp.
References mCurrentStep, showStep(), updateActions(), and updateButtons().
|
slot |
Definition at line 106 of file CQAnimationControls.cpp.
References mCurrentStep, and step_backward().
|
slot |
Definition at line 112 of file CQAnimationControls.cpp.
References mCurrentStep, mNumSteps, mShouldLoop, slotStop(), and step_forward().
Referenced by CQAnimationControls().
|
slot |
Definition at line 138 of file CQAnimationControls.cpp.
References CQIconResource::icon(), mpTimer, CQIconResource::play, and stop().
Referenced by slotStepForward().
|
slot |
Definition at line 88 of file CQAnimationControls.cpp.
References CQIconResource::icon(), isPlaying(), mpTimer, pause(), CQIconResource::pause, play(), and CQIconResource::play.
|
signal |
Referenced by slotStepBack().
|
signal |
Referenced by slotStepForward().
|
signal |
Referenced by slotStop().
|
protected |
Definition at line 158 of file CQAnimationControls.cpp.
Referenced by setCurrentStep(), and slotShowStep().
|
protected |
Definition at line 155 of file CQAnimationControls.cpp.
Referenced by setCurrentStep(), and slotShowStep().
|
protected |
Definition at line 48 of file CQAnimationControls.h.
Referenced by setCurrentStep(), slotShowStep(), slotStepBack(), and slotStepForward().
|
protected |
Definition at line 47 of file CQAnimationControls.h.
Referenced by CQAnimationControls(), setCurrentStep(), setNumSteps(), slotForward(), and slotStepForward().
|
protected |
Definition at line 50 of file CQAnimationControls.h.
Referenced by CQAnimationControls(), isPlaying(), slotChangeInterval(), slotStop(), and slotTogglePlayPause().
|
protected |
Definition at line 49 of file CQAnimationControls.h.
Referenced by slotStepForward().