KTextEditor
kateanimation.cpp
28 connect(m_fadeEffect, &KateFadeEffect::hideAnimationFinished, this, &KateAnimation::widgetHidden);
29 connect(m_fadeEffect, &KateFadeEffect::showAnimationFinished, this, &KateAnimation::widgetShown);
31 connect(m_widget.data(), &KMessageWidget::hideAnimationFinished, this, &KateAnimation::widgetHidden);
32 connect(m_widget.data(), &KMessageWidget::showAnimationFinished, this, &KateAnimation::widgetShown);
38 return m_fadeEffect ? m_fadeEffect->isHideAnimationRunning() : m_widget->isHideAnimationRunning();
43 return m_fadeEffect ? m_fadeEffect->isShowAnimationRunning() : m_widget->isShowAnimationRunning();
bool isShowAnimationRunning() const
Check whether the show animation started by calling fadeIn() is still running.
Definition: katefadeeffect.cpp:30
Q_EMITQ_EMIT
singleShot
KateAnimation(KMessageWidget *widget, EffectType effect)
Constructor.
Definition: kateanimation.cpp:17
void hideAnimationFinished()
This signal is emitted when the fadeOut animation is finished, started by calling fadeOut().
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void showAnimationFinished()
bool isHideAnimationRunning() const
Check whether the hide animation started by calling fadeOut() is still running.
Definition: katefadeeffect.cpp:25
bool isHideAnimationRunning() const
Returns true, if the hide animation is running, otherwise false.
Definition: kateanimation.cpp:36
static bool unitTestMode()
Returns true, if the unit test mode was enabled through a call of enableUnitTestMode(),...
Definition: kateglobal.cpp:64
void widgetShown()
This signal is emitted when the showing animation is finished.
void widgetHidden()
This signal is emitted when the hiding animation is finished.
SH_Widget_Animate
This class provides a fade in/out effect for arbitrary QWidgets.
Definition: katefadeeffect.h:26
void showAnimationFinished()
This signal is emitted when the fadeIn animation is finished, started by calling fadeIn().
T * data() const const
bool isShowAnimationRunning() const
Returns true, if the how animation is running, otherwise false.
Definition: kateanimation.cpp:41
void hideAnimationFinished()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:49:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:49:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.