![]() |
Qt 6.x
The Qt SDK
|
#include "qstyleanimation_p.h"
#include <qcoreapplication.h>
#include <qwidget.h>
#include <qevent.h>
#include "moc_qstyleanimation_p.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().
|
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().