Notation used in Ruby API documentation
Module: QtCore
Description: Binding of QTimeLine
Class hierarchy: QTimeLine » QObject
Sub-classes: CurveShape, QFlags_CurveShape, Direction, QFlags_Direction, State, QFlags_State
new QTimeLine | new | (int duration = 1000, QObject ptr parent = nullptr) | Constructor QTimeLine::QTimeLine(int duration, QObject *parent) |
[const] | QTimeLine ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | int | currentFrame | Method int QTimeLine::currentFrame() | |
[const] | int | currentTime | Method int QTimeLine::currentTime() | |
void | currentTime= | (int msec) | Method void QTimeLine::setCurrentTime(int msec) | |
[const] | double | currentValue | Method double QTimeLine::currentValue() | |
[const] | QTimeLine_CurveShape | curveShape | Method QTimeLine::CurveShape QTimeLine::curveShape() | |
void | curveShape= | (const QTimeLine_CurveShape shape) | Method void QTimeLine::setCurveShape(QTimeLine::CurveShape shape) | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QTimeLine::destroyed(QObject *) |
[const] | QTimeLine_Direction | direction | Method QTimeLine::Direction QTimeLine::direction() | |
void | direction= | (const QTimeLine_Direction direction) | Method void QTimeLine::setDirection(QTimeLine::Direction direction) | |
[const] | int | duration | Method int QTimeLine::duration() | |
void | duration= | (int duration) | Method void QTimeLine::setDuration(int duration) | |
[const] | QEasingCurve | easingCurve | Method QEasingCurve QTimeLine::easingCurve() | |
void | easingCurve= | (const QEasingCurve curve) | Method void QTimeLine::setEasingCurve(const QEasingCurve &curve) | |
void | emit_destroyed | (QObject ptr arg1 = nullptr) | Emitter for signal void QTimeLine::destroyed(QObject *) | |
void | emit_finished | Emitter for signal void QTimeLine::finished() | ||
void | emit_frameChanged | (int arg1) | Emitter for signal void QTimeLine::frameChanged(int) | |
void | emit_objectNameChanged | (string objectName) | Emitter for signal void QTimeLine::objectNameChanged(const QString &objectName) | |
void | emit_stateChanged | (const QTimeLine_State newState) | Emitter for signal void QTimeLine::stateChanged(QTimeLine::State newState) | |
void | emit_valueChanged | (double x) | Emitter for signal void QTimeLine::valueChanged(double x) | |
[const] | int | endFrame | Method int QTimeLine::endFrame() | |
void | endFrame= | (int frame) | Method void QTimeLine::setEndFrame(int frame) | |
bool | event | (QEvent ptr event) | Virtual method bool QTimeLine::event(QEvent *event) | |
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QTimeLine::eventFilter(QObject *watched, QEvent *event) | |
[signal] | void | finished | Signal declaration for QTimeLine::finished() | |
[signal] | void | frameChanged | (int arg1) | Signal declaration for QTimeLine::frameChanged(int) |
[const] | int | frameForTime | (int msec) | Method int QTimeLine::frameForTime(int msec) |
[const] | int | loopCount | Method int QTimeLine::loopCount() | |
void | loopCount= | (int count) | Method void QTimeLine::setLoopCount(int count) | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QTimeLine::objectNameChanged(const QString &objectName) |
void | resume | Method void QTimeLine::resume() | ||
void | setCurrentTime | (int msec) | Method void QTimeLine::setCurrentTime(int msec) | |
void | setCurveShape | (const QTimeLine_CurveShape shape) | Method void QTimeLine::setCurveShape(QTimeLine::CurveShape shape) | |
void | setDirection | (const QTimeLine_Direction direction) | Method void QTimeLine::setDirection(QTimeLine::Direction direction) | |
void | setDuration | (int duration) | Method void QTimeLine::setDuration(int duration) | |
void | setEasingCurve | (const QEasingCurve curve) | Method void QTimeLine::setEasingCurve(const QEasingCurve &curve) | |
void | setEndFrame | (int frame) | Method void QTimeLine::setEndFrame(int frame) | |
void | setFrameRange | (int startFrame, int endFrame) | Method void QTimeLine::setFrameRange(int startFrame, int endFrame) | |
void | setLoopCount | (int count) | Method void QTimeLine::setLoopCount(int count) | |
void | setPaused | (bool paused) | Method void QTimeLine::setPaused(bool paused) | |
void | setStartFrame | (int frame) | Method void QTimeLine::setStartFrame(int frame) | |
void | setUpdateInterval | (int interval) | Method void QTimeLine::setUpdateInterval(int interval) | |
void | start | Method void QTimeLine::start() | ||
[const] | int | startFrame | Method int QTimeLine::startFrame() | |
void | startFrame= | (int frame) | Method void QTimeLine::setStartFrame(int frame) | |
[const] | QTimeLine_State | state | Method QTimeLine::State QTimeLine::state() | |
[signal] | void | stateChanged | (const QTimeLine_State newState) | Signal declaration for QTimeLine::stateChanged(QTimeLine::State newState) |
void | stop | Method void QTimeLine::stop() | ||
void | toggleDirection | Method void QTimeLine::toggleDirection() | ||
[const] | int | updateInterval | Method int QTimeLine::updateInterval() | |
void | updateInterval= | (int interval) | Method void QTimeLine::setUpdateInterval(int interval) | |
[signal] | void | valueChanged | (double x) | Signal declaration for QTimeLine::valueChanged(double x) |
[const] | double | valueForTime | (int msec) | Virtual method double QTimeLine::valueForTime(int msec) |
[static,const] | QTimeLine_Direction | Backward | Enum constant QTimeLine::Backward | |
[static,const] | QTimeLine_CurveShape | CosineCurve | Enum constant QTimeLine::CosineCurve | |
[static,const] | QTimeLine_CurveShape | EaseInCurve | Enum constant QTimeLine::EaseInCurve | |
[static,const] | QTimeLine_CurveShape | EaseInOutCurve | Enum constant QTimeLine::EaseInOutCurve | |
[static,const] | QTimeLine_CurveShape | EaseOutCurve | Enum constant QTimeLine::EaseOutCurve | |
[static,const] | QTimeLine_Direction | Forward | Enum constant QTimeLine::Forward | |
[static,const] | QTimeLine_CurveShape | LinearCurve | Enum constant QTimeLine::LinearCurve | |
[static,const] | QTimeLine_State | NotRunning | Enum constant QTimeLine::NotRunning | |
[static,const] | QTimeLine_State | Paused | Enum constant QTimeLine::Paused | |
[static,const] | QTimeLine_State | Running | Enum constant QTimeLine::Running | |
[static,const] | QTimeLine_CurveShape | SineCurve | Enum constant QTimeLine::SineCurve | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QTimeLine::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QTimeLine::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr event) | Virtual method void QTimeLine::childEvent(QChildEvent *event) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QTimeLine::customEvent(QEvent *event) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QTimeLine::disconnectNotify(const QMetaMethod &signal) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QTimeLine::isSignalConnected(const QMetaMethod &signal) | |
[const] | int | receivers | (string signal) | Method int QTimeLine::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QTimeLine::sender() | ||
[const] | int | senderSignalIndex | Method int QTimeLine::senderSignalIndex() | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QTimeLine::timerEvent(QTimerEvent *event) |
Backward | Signature: [static,const] QTimeLine_Direction Backward Description: Enum constant QTimeLine::Backward Python specific notes: |
CosineCurve | Signature: [static,const] QTimeLine_CurveShape CosineCurve Description: Enum constant QTimeLine::CosineCurve Python specific notes: |
EaseInCurve | Signature: [static,const] QTimeLine_CurveShape EaseInCurve Description: Enum constant QTimeLine::EaseInCurve Python specific notes: |
EaseInOutCurve | Signature: [static,const] QTimeLine_CurveShape EaseInOutCurve Description: Enum constant QTimeLine::EaseInOutCurve Python specific notes: |
EaseOutCurve | Signature: [static,const] QTimeLine_CurveShape EaseOutCurve Description: Enum constant QTimeLine::EaseOutCurve Python specific notes: |
Forward | Signature: [static,const] QTimeLine_Direction Forward Description: Enum constant QTimeLine::Forward Python specific notes: |
LinearCurve | Signature: [static,const] QTimeLine_CurveShape LinearCurve Description: Enum constant QTimeLine::LinearCurve Python specific notes: |
NotRunning | Signature: [static,const] QTimeLine_State NotRunning Description: Enum constant QTimeLine::NotRunning Python specific notes: |
Paused | Signature: [static,const] QTimeLine_State Paused Description: Enum constant QTimeLine::Paused Python specific notes: |
Running | Signature: [static,const] QTimeLine_State Running Description: Enum constant QTimeLine::Running Python specific notes: |
SineCurve | Signature: [static,const] QTimeLine_CurveShape SineCurve Description: Enum constant QTimeLine::SineCurve Python specific notes: |
_const_cast | Signature: [const] QTimeLine ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
childEvent | Signature: void childEvent (QChildEvent ptr event) Description: Virtual method void QTimeLine::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
currentFrame | Signature: [const] int currentFrame Description: Method int QTimeLine::currentFrame() |
currentTime | Signature: [const] int currentTime Description: Method int QTimeLine::currentTime() Python specific notes: |
currentTime= | Signature: void currentTime= (int msec) Description: Method void QTimeLine::setCurrentTime(int msec) Python specific notes: |
currentValue | Signature: [const] double currentValue Description: Method double QTimeLine::currentValue() |
curveShape | Signature: [const] QTimeLine_CurveShape curveShape Description: Method QTimeLine::CurveShape QTimeLine::curveShape() Python specific notes: |
curveShape= | Signature: void curveShape= (const QTimeLine_CurveShape shape) Description: Method void QTimeLine::setCurveShape(QTimeLine::CurveShape shape) Python specific notes: |
customEvent | Signature: void customEvent (QEvent ptr event) Description: Virtual method void QTimeLine::customEvent(QEvent *event) This method can be reimplemented in a derived class. |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QTimeLine::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
direction | Signature: [const] QTimeLine_Direction direction Description: Method QTimeLine::Direction QTimeLine::direction() Python specific notes: |
direction= | Signature: void direction= (const QTimeLine_Direction direction) Description: Method void QTimeLine::setDirection(QTimeLine::Direction direction) Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (const QMetaMethod signal) Description: Virtual method void QTimeLine::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
duration | Signature: [const] int duration Description: Method int QTimeLine::duration() Python specific notes: |
duration= | Signature: void duration= (int duration) Description: Method void QTimeLine::setDuration(int duration) Python specific notes: |
easingCurve | Signature: [const] QEasingCurve easingCurve Description: Method QEasingCurve QTimeLine::easingCurve() Python specific notes: |
easingCurve= | Signature: void easingCurve= (const QEasingCurve curve) Description: Method void QTimeLine::setEasingCurve(const QEasingCurve &curve) Python specific notes: |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = nullptr) Description: Emitter for signal void QTimeLine::destroyed(QObject *) Call this method to emit this signal. |
emit_finished | Signature: void emit_finished Description: Emitter for signal void QTimeLine::finished() Call this method to emit this signal. |
emit_frameChanged | Signature: void emit_frameChanged (int arg1) Description: Emitter for signal void QTimeLine::frameChanged(int) Call this method to emit this signal. |
emit_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QTimeLine::objectNameChanged(const QString &objectName) Call this method to emit this signal. |
emit_stateChanged | Signature: void emit_stateChanged (const QTimeLine_State newState) Description: Emitter for signal void QTimeLine::stateChanged(QTimeLine::State newState) Call this method to emit this signal. |
emit_valueChanged | Signature: void emit_valueChanged (double x) Description: Emitter for signal void QTimeLine::valueChanged(double x) Call this method to emit this signal. |
endFrame | Signature: [const] int endFrame Description: Method int QTimeLine::endFrame() Python specific notes: |
endFrame= | Signature: void endFrame= (int frame) Description: Method void QTimeLine::setEndFrame(int frame) Python specific notes: |
event | Signature: bool event (QEvent ptr event) Description: Virtual method bool QTimeLine::event(QEvent *event) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr watched, QEvent ptr event) Description: Virtual method bool QTimeLine::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. |
finished | Signature: [signal] void finished Description: Signal declaration for QTimeLine::finished() You can bind a procedure to this signal. Python specific notes: |
frameChanged | Signature: [signal] void frameChanged (int arg1) Description: Signal declaration for QTimeLine::frameChanged(int) You can bind a procedure to this signal. Python specific notes: |
frameForTime | Signature: [const] int frameForTime (int msec) Description: Method int QTimeLine::frameForTime(int msec) |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QTimeLine::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
loopCount | Signature: [const] int loopCount Description: Method int QTimeLine::loopCount() Python specific notes: |
loopCount= | Signature: void loopCount= (int count) Description: Method void QTimeLine::setLoopCount(int count) Python specific notes: |
new | Signature: [static] new QTimeLine new (int duration = 1000, QObject ptr parent = nullptr) Description: Constructor QTimeLine::QTimeLine(int duration, QObject *parent) This method creates an object of class QTimeLine. Python specific notes: |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QTimeLine::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
receivers | Signature: [const] int receivers (string signal) Description: Method int QTimeLine::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
resume | Signature: void resume Description: Method void QTimeLine::resume() |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QTimeLine::sender() This method is protected and can only be called from inside a derived class. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QTimeLine::senderSignalIndex() This method is protected and can only be called from inside a derived class. |
setCurrentTime | Signature: void setCurrentTime (int msec) Description: Method void QTimeLine::setCurrentTime(int msec) Python specific notes: |
setCurveShape | Signature: void setCurveShape (const QTimeLine_CurveShape shape) Description: Method void QTimeLine::setCurveShape(QTimeLine::CurveShape shape) Python specific notes: |
setDirection | Signature: void setDirection (const QTimeLine_Direction direction) Description: Method void QTimeLine::setDirection(QTimeLine::Direction direction) Python specific notes: |
setDuration | Signature: void setDuration (int duration) Description: Method void QTimeLine::setDuration(int duration) Python specific notes: |
setEasingCurve | Signature: void setEasingCurve (const QEasingCurve curve) Description: Method void QTimeLine::setEasingCurve(const QEasingCurve &curve) Python specific notes: |
setEndFrame | Signature: void setEndFrame (int frame) Description: Method void QTimeLine::setEndFrame(int frame) Python specific notes: |
setFrameRange | Signature: void setFrameRange (int startFrame, int endFrame) Description: Method void QTimeLine::setFrameRange(int startFrame, int endFrame) |
setLoopCount | Signature: void setLoopCount (int count) Description: Method void QTimeLine::setLoopCount(int count) Python specific notes: |
setPaused | Signature: void setPaused (bool paused) Description: Method void QTimeLine::setPaused(bool paused) |
setStartFrame | Signature: void setStartFrame (int frame) Description: Method void QTimeLine::setStartFrame(int frame) Python specific notes: |
setUpdateInterval | Signature: void setUpdateInterval (int interval) Description: Method void QTimeLine::setUpdateInterval(int interval) Python specific notes: |
start | Signature: void start Description: Method void QTimeLine::start() |
startFrame | Signature: [const] int startFrame Description: Method int QTimeLine::startFrame() Python specific notes: |
startFrame= | Signature: void startFrame= (int frame) Description: Method void QTimeLine::setStartFrame(int frame) Python specific notes: |
state | Signature: [const] QTimeLine_State state Description: Method QTimeLine::State QTimeLine::state() |
stateChanged | Signature: [signal] void stateChanged (const QTimeLine_State newState) Description: Signal declaration for QTimeLine::stateChanged(QTimeLine::State newState) You can bind a procedure to this signal. Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
stop | Signature: void stop Description: Method void QTimeLine::stop() |
timerEvent | Signature: void timerEvent (QTimerEvent ptr event) Description: Virtual method void QTimeLine::timerEvent(QTimerEvent *event) This method can be reimplemented in a derived class. |
toggleDirection | Signature: void toggleDirection Description: Method void QTimeLine::toggleDirection() |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QTimeLine::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trUtf8 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) Description: Static method QString QTimeLine::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |
updateInterval | Signature: [const] int updateInterval Description: Method int QTimeLine::updateInterval() Python specific notes: |
updateInterval= | Signature: void updateInterval= (int interval) Description: Method void QTimeLine::setUpdateInterval(int interval) Python specific notes: |
valueChanged | Signature: [signal] void valueChanged (double x) Description: Signal declaration for QTimeLine::valueChanged(double x) You can bind a procedure to this signal. Python specific notes: |
valueForTime | Signature: [const] double valueForTime (int msec) Description: Virtual method double QTimeLine::valueForTime(int msec) This method can be reimplemented in a derived class. |