• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Public Slots | Signals | Public Member Functions | Protected Slots | List of all members
KateFadeEffect Class Reference

#include <katefadeeffect.h>

Inheritance diagram for KateFadeEffect:
Inheritance graph
[legend]

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:

KateFadeEffect* fadeEffect = new KateFadeEffect(someWidget);
fadeEffect->fadeIn();
//...
fadeEffect->fadeOut();

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

void KateFadeEffect::animationFinished ( )
protectedslot

When the animation is finished, hide the widget if fading out.

Definition at line 82 of file katefadeeffect.cpp.

void KateFadeEffect::fadeIn ( )
slot

Call to show and fade in the widget.

Definition at line 41 of file katefadeeffect.cpp.

void KateFadeEffect::fadeOut ( )
slot

Call to fade out and hide the widget.

Definition at line 59 of file katefadeeffect.cpp.

void KateFadeEffect::opacityChanged ( qreal  value)
protectedslot

Helper to update opacity value.

Definition at line 76 of file katefadeeffect.cpp.

void KateFadeEffect::widgetHidden ( )
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:
  • katefadeeffect.h
  • katefadeeffect.cpp
This file is part of the KDE documentation.
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.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal