18 #define APPEAR_IMMEDIATELY 1 19 #define DISAPPEAR_IMMEDIATELY 2 20 #define SLIDE_IN_LEFT 3 21 #define SLIDE_OUT_LEFT 4 22 #define SLIDE_IN_RIGHT 5 23 #define SLIDE_OUT_RIGHT 6 24 #define FADE_TRANSITION 7 37 #include <qdatetime.h> 152 void setNext(
Action* next);
162 #endif //GUI_ALABEL_H void setPixmap(const QPixmap &p)
animates setting an image
void mouseReleaseEvent(QMouseEvent *)
void paintEvent(QPaintEvent *pe)
void internalSetPixmap(const QPixmap &p)
void leaveEvent(QEvent *e)
void mousePress()
various mouse-click signals
void removePixmap(bool forceImmediate=false)
animates removing an image
void internalRemovePixmap(bool forceImmediate=false)
void dropEventOccured(QDropEvent *e)
QMutex animatingBoolMutex
#define DISAPPEAR_IMMEDIATELY
void mouseMoveEvent(QMouseEvent *)
void setAnimationMethods(int setMethod=APPEAR_IMMEDIATELY, int removalMethod=DISAPPEAR_IMMEDIATELY, int resetMethod=APPEAR_IMMEDIATELY, int removalBeforeResetMethod=DISAPPEAR_IMMEDIATELY)
alter animation methods
void enterEvent(QEvent *e)
int removalBeforeResetMethod
Action * delayedActionHead
void mouseDoubleClickEvent(QMouseEvent *)
Action * delayedActionTail
void mousePressEvent(QMouseEvent *)
ALabel(QWidget *parent=0, const char *name=0, QPixmap *hoverOverImage=NULL, int setMethod=APPEAR_IMMEDIATELY, int removalMethod=DISAPPEAR_IMMEDIATELY, int resetMethod=APPEAR_IMMEDIATELY, int removalBeforeResetMethod=DISAPPEAR_IMMEDIATELY, int initDelay=130, int accel=50)
create the label, optionally set a hover-over image (only displayed when pixmap for label is set and ...
#define APPEAR_IMMEDIATELY
void animatePixmap()
begin animating the pixmap
void appendJob(QPixmap *pix)