42 #ifndef QDECLARATIVEANIMATION_H 43 #define QDECLARATIVEANIMATION_H 45 #include "private/qdeclarativetransition_p.h" 46 #include "private/qdeclarativestate_p.h" 47 #include <QtGui/qvector3d.h> 53 #include <QtCore/qvariant.h> 54 #include <QtCore/qeasingcurve.h> 55 #include <QtCore/QAbstractAnimation> 56 #include <QtGui/qcolor.h> 86 bool isRunning()
const;
87 void setRunning(
bool);
88 bool isPaused()
const;
90 bool alwaysRunToEnd()
const;
91 void setAlwaysRunToEnd(
bool);
97 void setCurrentTime(
int);
103 void setDisableUserControl();
111 void runningChanged(
bool);
112 void pausedChanged(
bool);
113 void alwaysRunToEndChanged(
bool);
114 void loopCountChanged(
int);
135 void timelineComplete();
136 void componentFinalized();
139 void notifyRunningChanged(
bool running);
157 int duration() const;
158 void setDuration(
int);
161 void durationChanged(
int);
183 QString stateChangeScriptName() const;
184 void setStateChangeScriptName(const
QString &);
213 QString property() const;
214 void setProperty(const QString &);
216 QString properties() const;
217 void setProperties(const QString &);
226 void valueChanged(const QVariant &);
227 void propertiesChanged(const QString &);
228 void targetChanged();
229 void propertyChanged();
259 virtual
int duration() const;
260 virtual
void setDuration(
int);
262 QVariant from() const;
263 void setFrom(const QVariant &);
266 void setTo(const QVariant &);
271 QObject *target() const;
272 void setTarget(QObject *);
274 QString property() const;
275 void setProperty(const QString &);
277 QString properties() const;
278 void setProperties(const QString &);
284 QDeclarativePropertyAnimation(QDeclarativePropertyAnimationPrivate &dd, QObject *parent);
291 void durationChanged(
int);
292 void fromChanged(QVariant);
293 void toChanged(QVariant);
294 void easingChanged(const QEasingCurve &);
295 void propertiesChanged(const QString &);
296 void targetChanged();
297 void propertyChanged();
312 void setFrom(const
QColor &);
315 void setTo(const QColor &);
337 QDeclarativeNumberAnimation(QDeclarativePropertyAnimationPrivate &dd, QObject *parent);
358 QVector3D to() const;
359 void setTo(QVector3D);
388 void directionChanged();
460 QDeclarativeItem *newParent() const;
461 void setNewParent(QDeclarativeItem *);
463 QDeclarativeItem *via() const;
464 void setVia(QDeclarativeItem *);
467 void targetChanged();
468 void newParentChanged();
493 int duration() const;
494 void setDuration(
int);
500 void durationChanged(
int);
501 void easingChanged(const QEasingCurve&);
528 #endif // QDECLARATIVEANIMATION_H The QVariant class acts like a union for the most common Qt data types.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QVector3D class represents a vector or vertex in 3D space.
#define Q_CLASSINFO(name, value)
This macro associates extra information to the class, which is available using QObject::metaObject()...
#define QT_END_NAMESPACE
This macro expands to.
The QEasingCurve class provides easing curves for controlling animation.
#define QML_DECLARE_TYPE(TYPE)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QDeclarativeScriptString class encapsulates a script and its context.
The QDeclarativeItem class provides the most basic of all visual items in QML.
The QDeclarativeParserStatus class provides updates on the QML parser state.
The QAbstractAnimation class is the base of all animations.
#define Q_DECLARATIVE_PRIVATE_EXPORT
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
virtual void classBegin()=0
Invoked after class creation, but before any properties have been set.
#define Q_INTERFACES(x)
This macro tells Qt which interfaces the class implements.
#define Q_AUTOTEST_EXPORT
static const QCssKnownValue properties[NumProperties - 1]
virtual void setTarget(const QDeclarativeProperty &)=0
Set the target property for the value source.
The QDeclarativeProperty class abstracts accessing properties on objects created from QML...
#define Q_DECLARE_PRIVATE(Class)
The QDeclarativePropertyValueSource class is an interface for property value sources such as animatio...
The QDeclarativeListProperty class allows applications to expose list-like properties to QML...
Qt::LayoutDirection direction