Qyoto  4.0.6
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtCore.QSequentialAnimationGroup Class Reference

The QSequentialAnimationGroup class provides a sequential group of animations. More...

Inheritance diagram for QtCore.QSequentialAnimationGroup:
Collaboration diagram for QtCore.QSequentialAnimationGroup:

Public Member Functions

 QSequentialAnimationGroup (QObject parent=null)
 
 
override void CreateProxy ()
 
new QPauseAnimation AddPause (int msecs)
 
 
override bool OnEvent (QEvent @event)
 
 
new QPauseAnimation InsertPause (int index, int msecs)
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtCore.QAnimationGroup
 QAnimationGroup (QObject parent=null)
 
 
new void AddAnimation (QAbstractAnimation animation)
 
 
new QAbstractAnimation AnimationAt (int index)
 
 
new void Clear ()
 
 
override bool OnEvent (QEvent @event)
 
 
new int IndexOfAnimation (QAbstractAnimation animation)
 
 
new void InsertAnimation (int index, QAbstractAnimation animation)
 
 
new void RemoveAnimation (QAbstractAnimation animation)
 
 
new QAbstractAnimation TakeAnimation (int index)
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtCore.QAbstractAnimation
 QAbstractAnimation (QObject parent=null)
 
 
override bool OnEvent (QEvent @event)
 
 
new void Pause ()
 
 
new void Resume ()
 
 
new void SetPaused (bool paused)
 
 
new void Start (QAbstractAnimation.DeletionPolicy policy=QAbstractAnimation.DeletionPolicy.KeepWhenStopped)
 
 
new void Stop ()
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtCore.QObject
 QObject (QObject parent=null)
 
 
new bool BlockSignals (bool b)
 
 
new bool Connect (QObject sender, string signal, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection)
 
 
new void DeleteLater ()
 
 
new bool Disconnect (QObject receiver, string member=null)
 
 
new bool Disconnect (string signal=null, QObject receiver=null, string member=null)
 
 
new void DumpObjectInfo ()
 
 
new void DumpObjectTree ()
 
 
virtual bool OnEvent (QEvent e)
 
 
virtual bool EventFilter (QObject watched, QEvent @event)
 
 
new bool Inherits (string classname)
 
 
new void InstallEventFilter (QObject filterObj)
 
 
new void KillTimer (int id)
 
 
new object Property (string name)
 
 
new void RemoveEventFilter (QObject obj)
 
 
new bool SetProperty (string name, object value)
 
 
new void SetUserData (uint id, QObjectUserData data)
 
new int StartTimer (int interval)
 
 
new QObjectUserData UserData (uint id)
 
new void Dispose ()
 
- Public Member Functions inherited from QtCore.Qt
delegate QTextStream FuncQTextStreamQTextStream (QTextStream qTextStream)
 
delegate void ActionQtMsgTypeString (QtMsgType qtMsgType, string @string)
 
delegate QObject FuncQObject ()
 
delegate string FuncStringQByteArray (QByteArray qByteArray)
 
delegate QByteArray FuncQByteArrayString (string @string)
 

Static Public Member Functions

static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtCore.QAnimationGroup
static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtCore.QAbstractAnimation
static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtCore.QObject
static bool Connect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod method, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection)
 
 
static bool Connect (QObject sender, string signal, QObject receiver, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection)
 
 
static bool Disconnect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod member)
 
 
static bool Disconnect (QObject sender, string signal, QObject receiver, string member)
 
 
static string Tr (string s, string c=null)
 
 
static string Tr (string s, string c, int n)
 
 
static string TrUtf8 (string s, string c=null)
 
 
static string TrUtf8 (string s, string c, int n)
 
 
- Static Public Member Functions inherited from QtCore.Qt
static QDataStream Write (QDataStream s, object p)
 
static QDataStream Write (QDataStream stream, QSizeF size)
 
 
static QDataStream Write (QDataStream stream, QPoint point)
 
 
static QTextStream Write (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Write (QDataStream stream, QLineF line)
 
 
static QDataStream Write (QDataStream stream, QPointF point)
 
 
static QDataStream Write (QDataStream @out, QChar chr)
 
 
static QDataStream Write (QDataStream @out, QByteArray ba)
 
 
static QDataStream Write (QDataStream stream, QEasingCurve easing)
 
 
static QDataStream Write (QDataStream stream, QRectF rectangle)
 
 
static QDataStream Write (QDataStream @out, QDateTime dateTime)
 
 
static QDataStream Write (QDataStream @out, QUrl url)
 
 
static QDataStream Write (QDataStream @out, QTime time)
 
 
static QDataStream Write (QDataStream arg1, QLocale arg2)
 
static QDataStream Write (QDataStream @out, QBitArray ba)
 
 
static QDataStream Write (QDataStream s, QUuid id)
 
 
static QDataStream Write (QDataStream stream, QLine line)
 
 
static QDataStream Write (QDataStream @out, QDate date)
 
 
static QDataStream Write (QDataStream @out, QRegExp regExp)
 
 
static QDataStream Write (QDataStream stream, QRect rectangle)
 
 
static QDataStream Write (QDataStream stream, QSize size)
 
 
static QDataStream Write (QDataStream s, QVariant.Type p)
 
static QDataStream Write (QDataStream arg1, string arg2)
 
static QDataStream Write (QDataStream @out, System.Collections.Generic.List< string > list)
 
 
static QDataStream Read (QDataStream @in, QChar chr)
 
 
static QDataStream Read (QDataStream arg1, QLocale arg2)
 
static QDataStream Read (QDataStream stream, QRect rectangle)
 
 
static QDataStream Read (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Read (QDataStream @in, QDate date)
 
 
static QDataStream Read (QDataStream @in, QUrl url)
 
 
static QDataStream Read (QDataStream s, QUuid id)
 
 
static QTextStream Read (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Read (QDataStream stream, QLineF line)
 
 
static QDataStream Read (QDataStream stream, QRectF rectangle)
 
 
static QDataStream Read (QDataStream stream, QPointF point)
 
 
static QDataStream Read (QDataStream stream, QLine line)
 
 
static QDataStream Read (QDataStream @in, QBitArray ba)
 
 
static QDataStream Read (QDataStream stream, QSize size)
 
 
static QDataStream Read (QDataStream @in, QDateTime dateTime)
 
 
static QDataStream Read (QDataStream @in, QTime time)
 
 
static QDataStream Read (QDataStream stream, QPoint point)
 
 
static QDataStream Read (QDataStream @in, QRegExp regExp)
 
 
static QDataStream Read (QDataStream s, object p)
 
static QDataStream Read (QDataStream @in, QByteArray ba)
 
 
static QDataStream Read (QDataStream stream, QSizeF size)
 
 
static QDataStream Read (QDataStream arg1, string arg2)
 
static QDataStream Read (QDataStream s, QVariant.Type p)
 
static QDataStream Read (QDataStream @in, System.Collections.Generic.List< string > list)
 
 
static double QAcos (double v)
 
 
static void QAddPostRoutine (System.Action ptr)
 
 
static double QAsin (double v)
 
 
static double QAtan (double v)
 
 
static double QAtan2 (double x, double y)
 
 
static void QBadAlloc ()
 
static int QCeil (double v)
 
 
static ushort QChecksum (string s, uint len)
 
 
static QByteArray QCompress (QByteArray data, int compressionLevel=-1)
 
 
static QByteArray QCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1)
 
 
static double QCos (double v)
 
 
static double QExp (double v)
 
 
static double QFabs (double v)
 
static double QFastCos (double x)
 
static double QFastSin (double x)
 
static string QFlagLocation (string method)
 
static int QFloor (double v)
 
 
static bool QFuzzyCompare (double p1, double p2)
 
static bool QFuzzyCompare (float p1, float p2)
 
static bool QFuzzyIsNull (double d)
 
static bool QFuzzyIsNull (float f)
 
static uint QHash (QBitArray key)
 
 
static uint QHash (QChar key)
 
 
static uint QHash (QStringRef key)
 
static uint QHash (QUrl url)
 
 
static uint QHash (QPersistentModelIndex index)
 
static uint QHash (QByteArray key)
 
 
static uint QHash (QModelIndex index)
 
static uint QHash (uint key)
 
 
static uint QHash (char key)
 
 
static uint QHash (byte key)
 
 
static uint QHash (short key)
 
 
static uint QHash (NativeLong key)
 
 
static uint QHash (ushort key)
 
 
static uint QHash (long key)
 
 
static uint QHash (ulong key)
 
 
static uint QHash (int key)
 
 
static uint QHash (string key)
 
 
static uint QHash (NativeULong key)
 
 
static Qt.ActionQtMsgTypeString QInstallMsgHandler (Qt.ActionQtMsgTypeString arg1)
 
static int QIntCast (float f)
 
static int QIntCast (double f)
 
static bool QIsFinite (double d)
 
static bool QIsFinite (float f)
 
static bool QIsInf (float f)
 
static bool QIsInf (double d)
 
static bool QIsNaN (float f)
 
static bool QIsNaN (double d)
 
static bool QIsNull (float f)
 
static bool QIsNull (double d)
 
static double QLn (double v)
 
 
static double QPow (double x, double y)
 
 
static void QRegisterStaticPluginInstanceFunction (Qt.FuncQObject function)
 
 
static void QRemovePostRoutine (System.Action arg1)
 
static int QRound (double d)
 
static long QRound64 (double d)
 
static double QSin (double v)
 
 
static double QSqrt (double v)
 
 
static bool QStringComparisonHelper (QStringRef s1, string s2)
 
static double QTan (double v)
 
 
static QByteArray QUncompress (QByteArray data)
 
 
static QByteArray QUncompress (Pointer< byte > data, int nbytes)
 
 
static void Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size)
 
static QByteArray Qgetenv (string varName)
 
static bool Qputenv (string varName, QByteArray value)
 
static void Qsrand (uint seed)
 
static int Qstrcmp (QByteArray str1, QByteArray str2)
 
static int Qstrcmp (QByteArray str1, string str2)
 
static int Qstrcmp (string str1, QByteArray str2)
 
static int Qstrcmp (string str1, string str2)
 
 
static Pointer< sbyte > Qstrcpy (Pointer< sbyte > dst, string src)
 
 
static Pointer< sbyte > Qstrdup (string src)
 
 
static int Qstricmp (string str1, string str2)
 
 
static uint Qstrlen (string str)
 
 
static int Qstrncmp (string str1, string str2, uint len)
 
 
static Pointer< sbyte > Qstrncpy (Pointer< sbyte > dst, string src, uint len)
 
 
static int Qstrnicmp (string str1, string str2, uint len)
 
 
static uint Qstrnlen (string str, uint maxlen)
 
 
static string QtTrId (string id, int n=-1)
 

Protected Member Functions

 QSequentialAnimationGroup (System.Type dummy)
 
new void OnCurrentAnimationChanged (QAbstractAnimation current)
 
 
override void UpdateCurrentTime (int currentTime)
 
 
override void UpdateDirection (QAbstractAnimation.Direction direction)
 
 
override void UpdateState (QAbstractAnimation.State newState, QAbstractAnimation.State oldState)
 
 
- Protected Member Functions inherited from QtCore.QAnimationGroup
 QAnimationGroup (System.Type dummy)
 
- Protected Member Functions inherited from QtCore.QAbstractAnimation
 QAbstractAnimation (System.Type dummy)
 
new void OnCurrentLoopChanged (int currentLoop)
 
 
new void OnDirectionChanged (QAbstractAnimation.Direction newDirection)
 
 
new void OnFinished ()
 
 
new void OnStateChanged (QAbstractAnimation.State newState, QAbstractAnimation.State oldState)
 
 
- Protected Member Functions inherited from QtCore.QObject
 QObject (System.Type dummy)
 
virtual void OnChildEvent (QChildEvent @event)
 
 
virtual void ConnectNotify (string signal)
 
 
virtual void OnCustomEvent (QEvent @event)
 
 
new void OnDestroyed (QObject obj=null)
 
 
virtual void DisconnectNotify (string signal)
 
 
new int Receivers (string signal)
 
 
virtual void OnTimerEvent (QTimerEvent @event)
 
 

Properties

Slot< QAbstractAnimationCurrentAnimationChanged
 
 
override int Duration [get]
 
 
new QAbstractAnimation CurrentAnimation [get]
 
static new QMetaObject StaticMetaObject [get]
 
new
IQSequentialAnimationGroupSignals 
Emit [get]
 
- Properties inherited from QtCore.QAnimationGroup
int AnimationCount [get]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQAnimationGroupSignals Emit [get]
 
- Properties inherited from QtCore.QAbstractAnimation
Slot Finished
 
 
Slot< QAbstractAnimation.State,
QAbstractAnimation.State
StateChanged
 
 
Slot< System.Int32 > CurrentLoopChanged
 
 
Slot
< QAbstractAnimation.Direction
DirectionChanged
 
 
int CurrentLoopTime [get]
 
 
virtual int Duration [get]
 
QAnimationGroup Group [get]
 
 
int TotalDuration [get]
 
 
new State state [get]
 
 
new int LoopCount [get, set]
 
 
new int CurrentTime [get, set]
 
 
new int CurrentLoop [get]
 
 
new Direction direction [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQAbstractAnimationSignals Emit [get]
 
- Properties inherited from QtCore.QObject
virtual EventHandler
< QEventArgs< QChildEvent > > 
ChildEvent
 
 
virtual EventHandler
< QEventArgs< QEvent > > 
CustomEvent
 
 
virtual EventHandler
< QEventArgs< QEvent > > 
Event
 
 
virtual EventHandler
< QEventArgs< QTimerEvent > > 
TimerEvent
 
 
Slot< QObjectDestroyedQObject
 
Slot Destroyed
 
 
QObject Parent [get, set]
 
 
System.Collections.Generic.List
< QObject
Children [get]
 
 
System.Collections.Generic.List
< QByteArray
DynamicPropertyNames [get]
 
 
bool IsWidgetType [get]
 
 
static uint RegisterUserData [get]
 
QObject Sender [get]
 
 
int SenderSignalIndex [get]
 
 
bool SignalsBlocked [get]
 
 
virtual System.IntPtr SmokeObject [get, set]
 
new string ObjectName [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
 
static new QMetaObject StaticQtMetaObject [get]
 
new IQObjectSignals Emit [get]
 
- Properties inherited from QtCore.Qt
static string QAppName [get]
 
static double QInf [get]
 
static double QQNaN [get]
 
static double QSNaN [get]
 
static bool QSharedBuild [get]
 
static string QVersion [get]
 
static int Qrand [get]
 

Additional Inherited Members

- Public Types inherited from QtCore.QAbstractAnimation
enum  DeletionPolicy { DeleteWhenStopped = 1, KeepWhenStopped = 0 }
 
enum  Direction { Backward = 1, Forward = 0 }
  More...
 
enum  State { Paused = 1, Running = 2, Stopped = 0 }
  More...
 
- Protected Attributes inherited from QtCore.QObject
object Q_EMIT = null
 
SmokeInvocation interceptor
 
readonly List< QEventHandler > eventFilters = new List<QEventHandler>()
 

Detailed Description

The QSequentialAnimationGroup class provides a sequential group of animations.

QSequentialAnimationGroup is a QAnimationGroup that runs its animations in sequence, i.e., it starts one animation after another has finished playing. The animations are played in the order they are added to the group (using addAnimation() or insertAnimation()). The animation group finishes when its last animation has finished.

At each moment there is at most one animation that is active in the group; it is returned by currentAnimation(). An empty group has no current animation.

A sequential animation group can be treated as any other animation, i.e., it can be started, stopped, and added to other groups. You can also call addPause() or insertPause() to add a pause to a sequential animation group.

QSequentialAnimationGroup *group = new QSequentialAnimationGroup;

group->addAnimation(anim1);

group->addAnimation(anim2);

group->start();

In this example, anim1 and anim2 are two already set up QPropertyAnimations.

See also QAnimationGroup, QAbstractAnimation, and The Animation Framework.

Constructor & Destructor Documentation

QtCore.QSequentialAnimationGroup.QSequentialAnimationGroup ( System.Type  dummy)
protected
QtCore.QSequentialAnimationGroup.QSequentialAnimationGroup ( QObject  parent = null)

Constructs a QSequentialAnimationGroup. parent is passed to QObject's constructor.

Member Function Documentation

new QPauseAnimation QtCore.QSequentialAnimationGroup.AddPause ( int  msecs)

Adds a pause of msecs to this animation group. The pause is considered as a special type of animation, thus animationCount will be increased by one.

See also insertPause() and QAnimationGroup::addAnimation().

override void QtCore.QSequentialAnimationGroup.CreateProxy ( )
virtual

Reimplemented from QtCore.QAnimationGroup.

new void QtCore.QSequentialAnimationGroup.Dispose ( )
new QPauseAnimation QtCore.QSequentialAnimationGroup.InsertPause ( int  index,
int  msecs 
)

Inserts a pause of msecs milliseconds at index in this animation group.

See also addPause() and QAnimationGroup::insertAnimation().

new void QtCore.QSequentialAnimationGroup.OnCurrentAnimationChanged ( QAbstractAnimation  current)
protected

QSequentialAnimationGroup emits this signal when currentAnimation has been changed. current is the current animation.

See also currentAnimation().

override bool QtCore.QSequentialAnimationGroup.OnEvent ( QEvent event)

Reimplemented from QObject::event().

static string QtCore.QSequentialAnimationGroup.Tr ( string  s,
string  c = null 
)
static
static string QtCore.QSequentialAnimationGroup.Tr ( string  s,
string  c,
int  n 
)
static
static string QtCore.QSequentialAnimationGroup.TrUtf8 ( string  s,
string  c = null 
)
static
static string QtCore.QSequentialAnimationGroup.TrUtf8 ( string  s,
string  c,
int  n 
)
static
override void QtCore.QSequentialAnimationGroup.UpdateCurrentTime ( int  currentTime)
protectedvirtual

Reimplemented from QAbstractAnimation::updateCurrentTime().

Implements QtCore.QAbstractAnimation.

override void QtCore.QSequentialAnimationGroup.UpdateDirection ( QAbstractAnimation.Direction  direction)
protectedvirtual

Reimplemented from QAbstractAnimation::updateDirection().

Reimplemented from QtCore.QAbstractAnimation.

override void QtCore.QSequentialAnimationGroup.UpdateState ( QAbstractAnimation.State  newState,
QAbstractAnimation.State  oldState 
)
protectedvirtual

Reimplemented from QAbstractAnimation::updateState().

Reimplemented from QtCore.QAbstractAnimation.

Property Documentation

new QAbstractAnimation QtCore.QSequentialAnimationGroup.CurrentAnimation
get
Slot<QAbstractAnimation> QtCore.QSequentialAnimationGroup.CurrentAnimationChanged
addremove

QSequentialAnimationGroup emits this signal when currentAnimation has been changed. current is the current animation.

See also currentAnimation().

override int QtCore.QSequentialAnimationGroup.Duration
get

Reimplemented from QAbstractAnimation::duration().

new IQSequentialAnimationGroupSignals QtCore.QSequentialAnimationGroup.Emit
getprotected
new QMetaObject QtCore.QSequentialAnimationGroup.StaticMetaObject
staticget