Kate
#include <kateanimation.h>
Public Types | |
enum | EffectType { FadeEffect = 0, GrowEffect } |
Public Slots | |
void | hide () |
void | show () |
Signals | |
void | widgetHidden () |
void | widgetShown () |
Public Member Functions | |
KateAnimation (KMessageWidget *widget, EffectType effect) | |
bool | hideAnimationActive () const |
bool | showAnimationActive () const |
Detailed Description
This class provides a fade in/out effect for KMessageWidgets.
Example:
Definition at line 41 of file kateanimation.h.
Member Enumeration Documentation
The type of supported animation effects.
Enumerator | |
---|---|
FadeEffect |
fade in/out |
GrowEffect |
grow / shrink |
Definition at line 49 of file kateanimation.h.
Constructor & Destructor Documentation
KateAnimation::KateAnimation | ( | KMessageWidget * | widget, |
EffectType | effect | ||
) |
Constructor.
Definition at line 29 of file kateanimation.cpp.
Member Function Documentation
|
slot |
Call to hide the widget.
Definition at line 92 of file kateanimation.cpp.
bool KateAnimation::hideAnimationActive | ( | ) | const |
Returns true, if the hide animation is running, otherwise false.
Definition at line 54 of file kateanimation.cpp.
|
slot |
Call to show and fade in the widget.
Definition at line 64 of file kateanimation.cpp.
bool KateAnimation::showAnimationActive | ( | ) | const |
Returns true, if the how animation is running, otherwise false.
Definition at line 59 of file kateanimation.cpp.
|
signal |
This signal is emitted when the hiding animation is finished.
At this point, the associated widget is hidden.
|
signal |
This signal is emitted when the showing animation is finished.
At this point, the associated widget is hidden.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.