Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qstyleanimation.cpp File Reference

(113d28a4b7b969f2ceea59888502827012124514)

#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()

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 224 of file qstyleanimation.cpp.

Variable Documentation

◆ ScrollBarFadeOutDelay

const qreal ScrollBarFadeOutDelay = 450.0
static

Definition at line 14 of file qstyleanimation.cpp.

◆ ScrollBarFadeOutDuration

QT_BEGIN_NAMESPACE const qreal ScrollBarFadeOutDuration = 200.0
static

Definition at line 13 of file qstyleanimation.cpp.