4#ifndef QSTYLEANIMATION_P_H
5#define QSTYLEANIMATION_P_H
7#include <QtWidgets/private/qtwidgetsglobal_p.h>
41 void setDelay(
int delay);
55 void setFrameRate(FrameRate fps);
63 virtual bool isUpdateNeeded()
const;
81 int animationStep()
const;
82 int progressStep(
int width)
const;
85 void setSpeed(
int speed);
88 bool isUpdateNeeded()
const override;
102 qreal startValue()
const;
105 qreal endValue()
const;
111 bool isUpdateNeeded()
const override;
124 enum Type { Transition, Pulse };
128 QImage startImage()
const;
134 QImage currentImage()
const;
157 bool wasActive()
const;
158 void setActive(
bool active);
virtual void updateCurrentTime(int currentTime)=0
This pure virtual function is called every time the animation's currentTime changes.
void start(QAbstractAnimation::DeletionPolicy policy=KeepWhenStopped)
Starts the animation.
int duration
the duration of the animation.
\inmodule QtCore \reentrant
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define QT_REQUIRE_CONFIG(feature)