![]() |
Qt 6.x
The Qt SDK
|
#include "qstyleanimation_p.h"#include <qcoreapplication.h>#include <qwidget.h>#include <qevent.h>#include "moc_qstyleanimation_p.cpp"
Include dependency graph for qstyleanimation.cpp:Go to the source code of this file.
Functions | |
| static QImage | blendedImage (const QImage &start, const QImage &end, float alpha) |
Variables | |
| static QT_BEGIN_NAMESPACE const qreal | ScrollBarFadeOutDuration = 200.0 |
| static const qreal | ScrollBarFadeOutDelay = 450.0 |
A helper function to blend two images.
The result consists of ((alpha)*startImage) + ((1-alpha)*endImage)
Definition at line 223 of file qstyleanimation.cpp.
References QImage::bits(), fp, qAlpha(), qBlue(), qGreen(), qRed(), qRgba(), qRound(), and QImage::setDevicePixelRatio().
Referenced by QBlendStyleAnimation::updateCurrentTime().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 13 of file qstyleanimation.cpp.
Referenced by QScrollbarStyleAnimation::QScrollbarStyleAnimation().
|
static |
Definition at line 12 of file qstyleanimation.cpp.
Referenced by QScrollbarStyleAnimation::QScrollbarStyleAnimation().