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
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:65
GLuint GLuint end
GLuint start
double qreal
Definition qtypes.h:187
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]