Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qeffects.cpp File Reference

(c26994ff1551aa5450383cc51bed9b4d39f973f7)

#include "qapplication.h"
#include "qdebug.h"
#include "qeffects_p.h"
#include "qelapsedtimer.h"
#include "qevent.h"
#include "qimage.h"
#include "qpainter.h"
#include "qscreen.h"
#include "qpixmap.h"
#include "qpointer.h"
#include "qtimer.h"
#include "qwidget.h"
#include "private/qwidget_p.h"
#include "qwindow.h"
#include "qeffects.moc"
+ Include dependency graph for qeffects.cpp:

Go to the source code of this file.

Classes

class  QAlphaWidget
 
class  QRollEffect
 

Functions

void qScrollEffect (QWidget *w, QEffects::DirFlags orient, int time)
 
void qFadeEffect (QWidget *w, int time)
 

Variables

static QAlphaWidgetq_blend = nullptr
 
static QRollEffectq_roll = nullptr
 

Function Documentation

◆ qFadeEffect()

void qFadeEffect ( QWidget * w,
int time )

Definition at line 547 of file qeffects.cpp.

References QEvent::Move, q_blend, QEvent::Resize, QCoreApplication::sendPostedEvents(), time, and Qt::ToolTip.

Referenced by QMenuPrivate::popup(), QMenuPrivate::setCurrentAction(), and QToolTip::showText().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qScrollEffect()

void qScrollEffect ( QWidget * w,
QEffects::DirFlags orient,
int time )

Definition at line 525 of file qeffects.cpp.

References QEvent::Move, q_roll, QEvent::Resize, QCoreApplication::sendPostedEvents(), time, and Qt::ToolTip.

Referenced by QMenuPrivate::popup(), QMenuPrivate::setCurrentAction(), QComboBox::showPopup(), and QToolTip::showText().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ q_blend

QAlphaWidget* q_blend = nullptr
static

Definition at line 61 of file qeffects.cpp.

Referenced by QAlphaWidget::closeEvent(), qFadeEffect(), and QAlphaWidget::render().

◆ q_roll

QRollEffect* q_roll = nullptr
static

Definition at line 344 of file qeffects.cpp.

Referenced by qScrollEffect().