Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_corelib_animation_qvariantanimation.cpp
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
6 {
7 ...
8 return QColor(...);
9 }
10 ...
13
15 QVariant myInterpolator(const QVariant &from, const QVariant &to, qreal progress);
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
\inmodule QtCore
Definition qvariant.h:64
GLuint GLuint end
GLuint start
double qreal
Definition qtypes.h:92
qRegisterAnimationInterpolator< QColor >(myColorInterpolator)
QVariant myInterpolator(const QVariant &from, const QVariant &to, qreal progress)
[0]
QVariant myColorInterpolator(const QColor &start, const QColor &end, qreal progress)
[0]