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
qstyleanimation.cpp File Reference

(c26994ff1551aa5450383cc51bed9b4d39f973f7)

#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
 

Function Documentation

◆ blendedImage()

static QImage blendedImage ( const QImage & start,
const QImage & end,
float alpha )
static

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 fp, qAlpha(), qBlue(), qGreen(), qRed(), qRgba(), and qRound().

Referenced by QBlendStyleAnimation::updateCurrentTime().

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

Variable Documentation

◆ ScrollBarFadeOutDelay

const qreal ScrollBarFadeOutDelay = 450.0
static

◆ ScrollBarFadeOutDuration

QT_BEGIN_NAMESPACE const qreal ScrollBarFadeOutDuration = 200.0
static