42 #ifndef QPROPERTYANIMATION_H 43 #define QPROPERTYANIMATION_H 45 #include <QtCore/qvariantanimation.h> 53 #ifndef QT_NO_ANIMATION 68 void setTargetObject(
QObject *target);
71 void setPropertyName(
const QByteArray &propertyName);
83 #endif //QT_NO_ANIMATION 89 #endif // QPROPERTYANIMATION_H The QVariant class acts like a union for the most common Qt data types.
The QPropertyAnimation class animates Qt properties.
#define QT_END_NAMESPACE
This macro expands to.
State
This enum describes the state of the animation.
The QByteArray class provides an array of bytes.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QObject class is the base class of all Qt objects.
QObject * targetObject
the target QObject for this animation.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void updateCurrentValue(const QVariant &value)=0
This pure virtual function is called every time the animation's current value changes.
The QVariantAnimation class provides an abstract base class for animations.
void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
Reimplemented Function
QByteArray propertyName
the target property name for this animation
#define Q_DECLARE_PRIVATE(Class)
The QEvent class is the base class of all event classes.
bool event(QEvent *event)
Reimplemented Function