4#ifndef QVARIANTANIMATION_H
5#define QVARIANTANIMATION_H
7#include <QtCore/qabstractanimation.h>
8#include <QtCore/qeasingcurve.h>
9#include <QtCore/qlist.h>
10#include <QtCore/qpair.h>
11#include <QtCore/qvariant.h>
26 BINDABLE bindableEasingCurve)
57 typedef QVariant (*Interpolator)(
const void *from,
const void *to,
qreal progress);
74 static void registerInterpolator(Interpolator
func,
int interpolationType);
State
This enum describes the state of the animation.
virtual void updateCurrentTime(int currentTime)=0
This pure virtual function is called every time the animation's currentTime changes.
virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
This virtual function is called by QAbstractAnimation when the state of the animation is changed from...
int duration
the duration of the animation.
QVariant(* Interpolator)(const void *from, const void *to, qreal progress)
QPair< qreal, QVariant > KeyValue
This is a typedef for QPair<qreal, QVariant>.
void valueChanged(const QVariant &value)
QVariantAnimation emits this signal whenever the current value changes.
friend void qRegisterAnimationInterpolator(QVariant(*func)(const T &, const T &, qreal))
QList< KeyValue > KeyValues
This is a typedef for QList<KeyValue>
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
std::pair< T1, T2 > QPair
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLsizei GLsizei GLint * values
[15]
#define QT_REQUIRE_CONFIG(feature)
void qRegisterAnimationInterpolator(QVariant(*func)(const T &from, const T &to, qreal progress))
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent