Kate
#include <katefadeeffect.h>
Public Slots | |
void | fadeIn () |
void | fadeOut () |
Signals | |
void | widgetHidden () |
Public Member Functions | |
KateFadeEffect (QWidget *widget=0) | |
Protected Slots | |
void | animationFinished () |
void | opacityChanged (qreal value) |
Detailed Description
This class provides a fade in/out effect for arbitrary QWidgets.
Example:
Definition at line 40 of file katefadeeffect.h.
Constructor & Destructor Documentation
KateFadeEffect::KateFadeEffect | ( | QWidget * | widget = 0 | ) |
Constructor.
By default, the widget is fully opaque (opacity = 1.0).
Definition at line 29 of file katefadeeffect.cpp.
Member Function Documentation
|
protectedslot |
When the animation is finished, hide the widget if fading out.
Definition at line 82 of file katefadeeffect.cpp.
|
slot |
Call to show and fade in the widget.
Definition at line 41 of file katefadeeffect.cpp.
|
slot |
Call to fade out and hide the widget.
Definition at line 59 of file katefadeeffect.cpp.
|
protectedslot |
Helper to update opacity value.
Definition at line 76 of file katefadeeffect.cpp.
|
signal |
This signal is emitted when the hiding 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.