Qt 4.8
Public Functions | Static Public Functions | Public Variables | List of all members
QDeclarativePropertyAnimationPrivate Class Reference

#include <qdeclarativeanimation_p_p.h>

Inheritance diagram for QDeclarativePropertyAnimationPrivate:
QDeclarativeAbstractAnimationPrivate QObjectPrivate QObjectData QDeclarativeRotationAnimationPrivate QDeclarativeSmoothedAnimationPrivate QDeclarativeSpringAnimationPrivate

Public Functions

void init ()
 
 QDeclarativePropertyAnimationPrivate ()
 
- Public Functions inherited from QDeclarativeAbstractAnimationPrivate
void commence ()
 
 QDeclarativeAbstractAnimationPrivate ()
 
- Public Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Static Public Functions

static void convertVariant (QVariant &variant, int type)
 
static QVariant interpolateVariant (const QVariant &from, const QVariant &to, qreal progress)
 
- Static Public Functions inherited from QDeclarativeAbstractAnimationPrivate
static QDeclarativeProperty createProperty (QObject *obj, const QString &str, QObject *infoObj)
 
- Static Public Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 

Public Variables

QDeclarativeStateActionsactions
 
QString defaultProperties
 
bool defaultToInterpolatorType:1
 
QList< QObject * > exclude
 
QVariant from
 
bool fromIsDefined:1
 
bool fromSourced
 
QVariantAnimation::Interpolator interpolator
 
int interpolatorType
 
QString properties
 
QString propertyName
 
bool rangeIsSet:1
 
QObjecttarget
 
QList< QObject * > targets
 
QVariant to
 
bool toIsDefined:1
 
QDeclarativeBulkValueAnimatorva
 
- Public Variables inherited from QDeclarativeAbstractAnimationPrivate
bool alwaysRunToEnd:1
 
bool avoidPropertyValueSourceStart:1
 
bool componentComplete:1
 
bool connectedTimeLine:1
 
QDeclarativeProperty defaultProperty
 
bool disableUserControl:1
 
QDeclarativeAnimationGroupgroup
 
int loopCount
 
bool paused:1
 
bool registered:1
 
bool running:1
 
- Public Variables inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Public Variables inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 

Detailed Description

Definition at line 301 of file qdeclarativeanimation_p_p.h.

Constructors and Destructors

◆ QDeclarativePropertyAnimationPrivate()

QDeclarativePropertyAnimationPrivate::QDeclarativePropertyAnimationPrivate ( )
inline

Definition at line 305 of file qdeclarativeanimation_p_p.h.

QVariantAnimation::Interpolator interpolator

Functions

◆ convertVariant()

void QDeclarativePropertyAnimationPrivate::convertVariant ( QVariant variant,
int  type 
)
static

Definition at line 1798 of file qdeclarativeanimation.cpp.

Referenced by QDeclarativeAnimationPropertyUpdater::setValue(), and QDeclarativePropertyAction::transition().

1799 {
1800  if (variant.userType() != QVariant::String) {
1801  variant.convert((QVariant::Type)type);
1802  return;
1803  }
1804 
1805  switch (type) {
1806  case QVariant::Rect: {
1808  break;
1809  }
1810  case QVariant::RectF: {
1812  break;
1813  }
1814  case QVariant::Point: {
1816  break;
1817  }
1818  case QVariant::PointF: {
1820  break;
1821  }
1822  case QVariant::Size: {
1824  break;
1825  }
1826  case QVariant::SizeF: {
1828  break;
1829  }
1830  case QVariant::Color: {
1832  break;
1833  }
1834  case QVariant::Vector3D: {
1836  break;
1837  }
1838  default:
1840  variant.convert((QVariant::Type)type);
1841  } else {
1843  if (converter)
1844  variant = converter(variant.toString());
1845  }
1846  break;
1847  }
1848 }
QColor Q_DECLARATIVE_PRIVATE_EXPORT colorFromString(const QString &, bool *ok=0)
int type
Definition: qmetatype.cpp:239
QVector3D Q_DECLARATIVE_PRIVATE_EXPORT vector3DFromString(const QString &, bool *ok=0)
QString toString() const
Returns the variant as a QString if the variant has type() String , Bool , ByteArray ...
Definition: qvariant.cpp:2270
void setValue(const T &value)
Stores a copy of value.
Definition: qvariant.h:527
QRectF Q_DECLARATIVE_PRIVATE_EXPORT rectFFromString(const QString &, bool *ok=0)
QPointF Q_DECLARATIVE_PRIVATE_EXPORT pointFFromString(const QString &, bool *ok=0)
unsigned int uint
Definition: qglobal.h:996
Type
This enum type defines the types of variable that a QVariant can contain.
Definition: qvariant.h:95
bool convert(Type t)
Casts the variant to the requested type, t.
Definition: qvariant.cpp:2959
QSizeF Q_DECLARATIVE_PRIVATE_EXPORT sizeFFromString(const QString &, bool *ok=0)
int userType() const
Returns the storage type of the value stored in the variant.
Definition: qvariant.cpp:1913
static StringConverter customStringConverter(int)
Return the custom string converter for type, previously installed through registerCustomStringConvert...
QVariant(* StringConverter)(const QString &)

◆ init()

void QDeclarativePropertyAnimationPrivate::init ( )

Definition at line 1933 of file qdeclarativeanimation.cpp.

1934 {
1938 }
#define Q_Q(Class)
Definition: qglobal.h:2483
void QDeclarative_setParent_noEvent(QObject *object, QObject *parent)
Makes the object a child of parent.

◆ interpolateVariant()

static QVariant QDeclarativePropertyAnimationPrivate::interpolateVariant ( const QVariant from,
const QVariant to,
qreal  progress 
)
static

Properties

◆ actions

QDeclarativeStateActions* QDeclarativePropertyAnimationPrivate::actions

Definition at line 332 of file qdeclarativeanimation_p_p.h.

◆ defaultProperties

QString QDeclarativePropertyAnimationPrivate::defaultProperties

Definition at line 319 of file qdeclarativeanimation_p_p.h.

◆ defaultToInterpolatorType

bool QDeclarativePropertyAnimationPrivate::defaultToInterpolatorType

Definition at line 325 of file qdeclarativeanimation_p_p.h.

◆ exclude

QList<QObject *> QDeclarativePropertyAnimationPrivate::exclude

Definition at line 318 of file qdeclarativeanimation_p_p.h.

◆ from

QVariant QDeclarativePropertyAnimationPrivate::from

Definition at line 311 of file qdeclarativeanimation_p_p.h.

◆ fromIsDefined

bool QDeclarativePropertyAnimationPrivate::fromIsDefined

Definition at line 322 of file qdeclarativeanimation_p_p.h.

◆ fromSourced

bool QDeclarativePropertyAnimationPrivate::fromSourced

Definition at line 321 of file qdeclarativeanimation_p_p.h.

◆ interpolator

QVariantAnimation::Interpolator QDeclarativePropertyAnimationPrivate::interpolator

Definition at line 327 of file qdeclarativeanimation_p_p.h.

◆ interpolatorType

int QDeclarativePropertyAnimationPrivate::interpolatorType

Definition at line 326 of file qdeclarativeanimation_p_p.h.

◆ properties

QString QDeclarativePropertyAnimationPrivate::properties

Definition at line 316 of file qdeclarativeanimation_p_p.h.

◆ propertyName

QString QDeclarativePropertyAnimationPrivate::propertyName

Definition at line 315 of file qdeclarativeanimation_p_p.h.

◆ rangeIsSet

bool QDeclarativePropertyAnimationPrivate::rangeIsSet

Definition at line 324 of file qdeclarativeanimation_p_p.h.

◆ target

QObject* QDeclarativePropertyAnimationPrivate::target

Definition at line 314 of file qdeclarativeanimation_p_p.h.

◆ targets

QList<QObject *> QDeclarativePropertyAnimationPrivate::targets

Definition at line 317 of file qdeclarativeanimation_p_p.h.

◆ to

QVariant QDeclarativePropertyAnimationPrivate::to

Definition at line 312 of file qdeclarativeanimation_p_p.h.

◆ toIsDefined

bool QDeclarativePropertyAnimationPrivate::toIsDefined

Definition at line 323 of file qdeclarativeanimation_p_p.h.

◆ va

QDeclarativeBulkValueAnimator* QDeclarativePropertyAnimationPrivate::va

Definition at line 329 of file qdeclarativeanimation_p_p.h.


The documentation for this class was generated from the following files: