kpresenter
KPrEffectHandler Class Reference
List of all members.Detailed Description
Definition at line 35 of file KPrEffectHandler.h.
Constructor & Destructor Documentation
KPrEffectHandler::KPrEffectHandler | ( | PresStep | step, | |
bool | back, | |||
QPaintDevice * | dst, | |||
QPixmap * | src, | |||
const QPtrList< KPrObject > & | objects, | |||
KPrView * | view, | |||
int | _presSpeed | |||
) |
Creates an EffectsHandler for the effect step step and the effect sub step subStep.
step the effect step for which the effect should be displayed subStep the sub effect step for which the effect should be displayed back set to true if the effect step was reached by going backwards dst the paint device on which the Effects will be shown src this pixmap holds the pixmap before any effects are started objects all objects of the page view pointer to the active KPrView
Definition at line 37 of file KPrEffectHandler.cpp.
KPrEffectHandler::~KPrEffectHandler | ( | ) |
Member Function Documentation
bool KPrEffectHandler::appearComeBottom | ( | KPrObject * | object | ) | [protected] |
Effect Come From Bottom The object comes in from the bottom to its position Returns true if the object is on its final position.
Definition at line 478 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearComeLeft | ( | KPrObject * | object | ) | [protected] |
Effect Come From Left The object comes in from the left to its position Returns true if the object is on its final position.
Definition at line 406 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearComeLeftBottom | ( | KPrObject * | object | ) | [protected] |
Effect Come From Left/Buttom The object comes in from the bottom left corner to its position Returns true if the object is on its final position.
Definition at line 535 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearComeLeftTop | ( | KPrObject * | object | ) | [protected] |
Effect Come From Left/Top The object comes in from the top left corner to its position Returns true if the object is on its final position.
Definition at line 502 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearComeRight | ( | KPrObject * | object | ) | [protected] |
Effect Come From Right The object comes in from the right to its position Returns true if the object is on its final position.
Definition at line 454 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearComeRightBottom | ( | KPrObject * | object | ) | [protected] |
Effect Come From Right/Buttom The object comes in from the bottom right corner to its position Returns true if the object is on its final position.
Definition at line 601 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearComeRightTop | ( | KPrObject * | object | ) | [protected] |
Effect Come From Right/Top The object comes in from the top right corner to its position Returns true if the object is on its final position.
Definition at line 568 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearComeTop | ( | KPrObject * | object | ) | [protected] |
Effect Come From Top The object comes in from the top to its position Returns true if the object is on its final position.
Definition at line 430 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearNone | ( | KPrObject * | object | ) | [protected] |
Effect None The object just appears on its position Returns allways true as the object is in is final position.
Definition at line 397 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearWipeBottom | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Bottom Returns true if the object is fully shown.
Definition at line 696 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearWipeLeft | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Left Returns true if the object is fully shown.
Definition at line 634 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearWipeRight | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Right Returns true if the object is fully shown.
Definition at line 654 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::appearWipeTop | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Top Returns true if the object is fully shown.
Definition at line 675 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoBottom | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Bottom The object moves from it's position to the bottom out of the screen Returns true if the object is out of the screen.
Definition at line 788 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoLeft | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Left The object moves from it's position to the left out of the screen Returns true if the object is out of the screen.
Definition at line 717 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoLeftBottom | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Left/Bottom The object moves from it's position to the bottom left out of the screen Returns true if the object is out of the screen.
Definition at line 837 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoLeftTop | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Left/Top The object moves from it's position to the top left out of the screen Returns true if the object is out of the screen.
Definition at line 811 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoRight | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Right The object moves from it's position to the right out of the screen Returns true if the object is out of the screen.
Definition at line 765 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoRightBottom | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Right/Bottom The object moves from it's position to the bottom right out of the screen Returns true if the object is out of the screen.
Definition at line 889 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoRightTop | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Right/Top The object moves from it's position to the top right out of the screen Returns true if the object is out of the screen.
Definition at line 863 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearGoTop | ( | KPrObject * | object | ) | [protected] |
Effect Disappear To Top The object moves from it's position to the top out of the screen Returns true if the object is out of the screen.
Definition at line 741 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearWipeBottom | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Bottom Returns true if the object is fully shown.
Definition at line 981 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearWipeLeft | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Left Returns true if the object is fully shown.
Definition at line 915 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearWipeRight | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Right Returns true if the object is fully shown.
Definition at line 937 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::disappearWipeTop | ( | KPrObject * | object | ) | [protected] |
Effect Wipe From Top Returns true if the object is fully shown.
Definition at line 959 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::doAppearEffectStep | ( | KPrObject * | object | ) | [protected] |
Calls the right appear effect method for the object object.
Returns true if the effect for the object is finished.
Definition at line 295 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::doDisappearEffectStep | ( | KPrObject * | object | ) | [protected] |
Calls the right disappear effect method for the object object.
Returns true if the effect for the object is finished.
Definition at line 347 of file KPrEffectHandler.cpp.
bool KPrEffectHandler::doEffect | ( | ) |
doEffect handle the next step of the object effect.
Returns true if all effects in the current step are finished. In automatic presentation mode: On the first step it stops the automatic presentation timer. The automatic presentation timer will be restared when all effects are done.
Definition at line 93 of file KPrEffectHandler.cpp.
void KPrEffectHandler::drawObject | ( | KPrObject * | object, | |
int | x, | |||
int | y, | |||
QPixmap * | screen, | |||
QRect * | clipRect = 0 | |||
) | [protected] |
Draws the object object to the pixmap screen with the offset defined in x and y.
If clipRect is set the only the clipRect will be painted.
Definition at line 1003 of file KPrEffectHandler.cpp.
void KPrEffectHandler::finish | ( | ) |
Ends the effect for the current step by displaying all objects on their final position.
In automatic presentation mode: Restarts the automatic presentation timer.
Definition at line 239 of file KPrEffectHandler.cpp.
Member Data Documentation
QPtrList<KPrObject> KPrEffectHandler::m_appearEffectObjects [protected] |
List of all objects which appear in the current step.
If a object has reached its final position it is removed from this list
Definition at line 301 of file KPrEffectHandler.h.
bool KPrEffectHandler::m_back [protected] |
True when the effect step was reached by going backwards.
Definition at line 272 of file KPrEffectHandler.h.
QPtrList<KPrObject> KPrEffectHandler::m_disappearEffectObjects [protected] |
List of all objects which disappear in the current step.
If a object has disappeared it is removed from this list
Definition at line 307 of file KPrEffectHandler.h.
QPaintDevice* KPrEffectHandler::m_dst [protected] |
Paint device on which the effects will be displayed.
Definition at line 277 of file KPrEffectHandler.h.
int KPrEffectHandler::m_effectStep [protected] |
The internal step of the effect.
This is used to calculate the position of the object.
Definition at line 262 of file KPrEffectHandler.h.
QPtrList<QRect> KPrEffectHandler::m_lastRepaintRects [protected] |
The rects which have to be bitblt as the objects are no longer there.
Definition at line 331 of file KPrEffectHandler.h.
QPtrList<KPrObject> KPrEffectHandler::m_objects [protected] |
int KPrEffectHandler::m_objectTimer [protected] |
QPixmap KPrEffectHandler::m_paint [protected] |
Is used for printing all objects before bitblt to m_dst.
Definition at line 289 of file KPrEffectHandler.h.
QPtrList<QRect> KPrEffectHandler::m_repaintRects [protected] |
QString KPrEffectHandler::m_soundEffect [protected] |
The filename of the sound file which should be played during the effect.
Definition at line 336 of file KPrEffectHandler.h.
QPixmap* KPrEffectHandler::m_src [protected] |
Pixmap used as source for displaying on.
m_src contains all objects which are allready on the final position.
Definition at line 284 of file KPrEffectHandler.h.
PresStep KPrEffectHandler::m_step [protected] |
int KPrEffectHandler::m_stepHeight [protected] |
int KPrEffectHandler::m_stepWidth [protected] |
KPrView* KPrEffectHandler::m_view [protected] |
The documentation for this class was generated from the following files: