Notation used in Ruby API documentation
Module: QtCore
Description: Binding of QAbstractTransition
Class hierarchy: QAbstractTransition » QObject
Sub-classes: TransitionType, QFlags_TransitionType
new QAbstractTransition | new | (QState ptr sourceState = nullptr) | Constructor QAbstractTransition::QAbstractTransition(QState *sourceState) |
[const] | QAbstractTransition 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. | ||
void | addAnimation | (QAbstractAnimation ptr animation) | Method void QAbstractTransition::addAnimation(QAbstractAnimation *animation) | |
[const] | QAbstractAnimation ptr[] | animations | Method QList<QAbstractAnimation*> QAbstractTransition::animations() | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QAbstractTransition::destroyed(QObject *) |
void | emit_destroyed | (QObject ptr arg1 = nullptr) | Emitter for signal void QAbstractTransition::destroyed(QObject *) | |
void | emit_objectNameChanged | (string objectName) | Emitter for signal void QAbstractTransition::objectNameChanged(const QString &objectName) | |
void | emit_targetStateChanged | Emitter for signal void QAbstractTransition::targetStateChanged() | ||
void | emit_targetStatesChanged | Emitter for signal void QAbstractTransition::targetStatesChanged() | ||
void | emit_triggered | Emitter for signal void QAbstractTransition::triggered() | ||
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QAbstractTransition::eventFilter(QObject *watched, QEvent *event) | |
[const] | QStateMachine ptr | machine | Method QStateMachine *QAbstractTransition::machine() | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QAbstractTransition::objectNameChanged(const QString &objectName) |
void | removeAnimation | (QAbstractAnimation ptr animation) | Method void QAbstractTransition::removeAnimation(QAbstractAnimation *animation) | |
void | setTargetState | (QAbstractState ptr target) | Method void QAbstractTransition::setTargetState(QAbstractState *target) | |
void | setTargetStates | (QAbstractState ptr[] targets) | Method void QAbstractTransition::setTargetStates(const QList<QAbstractState*> &targets) | |
void | setTransitionType | (const QAbstractTransition_TransitionType type) | Method void QAbstractTransition::setTransitionType(QAbstractTransition::TransitionType type) | |
[const] | QState ptr | sourceState | Method QState *QAbstractTransition::sourceState() | |
[const] | QAbstractState ptr | targetState | Method QAbstractState *QAbstractTransition::targetState() | |
void | targetState= | (QAbstractState ptr target) | Method void QAbstractTransition::setTargetState(QAbstractState *target) | |
[signal] | void | targetStateChanged | Signal declaration for QAbstractTransition::targetStateChanged() | |
[const] | QAbstractState ptr[] | targetStates | Method QList<QAbstractState*> QAbstractTransition::targetStates() | |
void | targetStates= | (QAbstractState ptr[] targets) | Method void QAbstractTransition::setTargetStates(const QList<QAbstractState*> &targets) | |
[signal] | void | targetStatesChanged | Signal declaration for QAbstractTransition::targetStatesChanged() | |
[const] | QAbstractTransition_TransitionType | transitionType | Method QAbstractTransition::TransitionType QAbstractTransition::transitionType() | |
void | transitionType= | (const QAbstractTransition_TransitionType type) | Method void QAbstractTransition::setTransitionType(QAbstractTransition::TransitionType type) | |
[signal] | void | triggered | Signal declaration for QAbstractTransition::triggered() |
[static,const] | QAbstractTransition_TransitionType | ExternalTransition | Enum constant QAbstractTransition::ExternalTransition | |
[static,const] | QAbstractTransition_TransitionType | InternalTransition | Enum constant QAbstractTransition::InternalTransition | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QAbstractTransition::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QAbstractTransition::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr event) | Virtual method void QAbstractTransition::childEvent(QChildEvent *event) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QAbstractTransition::customEvent(QEvent *event) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QAbstractTransition::disconnectNotify(const QMetaMethod &signal) | ||
bool | event | (QEvent ptr e) | Virtual method bool QAbstractTransition::event(QEvent *e) | ||
bool | eventTest | (QEvent ptr event) | Virtual method bool QAbstractTransition::eventTest(QEvent *event) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QAbstractTransition::isSignalConnected(const QMetaMethod &signal) | |
void | onTransition | (QEvent ptr event) | Virtual method void QAbstractTransition::onTransition(QEvent *event) | ||
[const] | int | receivers | (string signal) | Method int QAbstractTransition::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QAbstractTransition::sender() | ||
[const] | int | senderSignalIndex | Method int QAbstractTransition::senderSignalIndex() | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QAbstractTransition::timerEvent(QTimerEvent *event) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
ExternalTransition | Signature: [static,const] QAbstractTransition_TransitionType ExternalTransition Description: Enum constant QAbstractTransition::ExternalTransition Python specific notes: |
InternalTransition | Signature: [static,const] QAbstractTransition_TransitionType InternalTransition Description: Enum constant QAbstractTransition::InternalTransition Python specific notes: |
_const_cast | Signature: [const] QAbstractTransition 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. |
addAnimation | Signature: void addAnimation (QAbstractAnimation ptr animation) Description: Method void QAbstractTransition::addAnimation(QAbstractAnimation *animation) |
animations | Signature: [const] QAbstractAnimation ptr[] animations Description: Method QList<QAbstractAnimation*> QAbstractTransition::animations() |
childEvent | Signature: void childEvent (QChildEvent ptr event) Description: Virtual method void QAbstractTransition::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead 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. |
customEvent | Signature: void customEvent (QEvent ptr event) Description: Virtual method void QAbstractTransition::customEvent(QEvent *event) This method can be reimplemented in a derived class. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead 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: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QAbstractTransition::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (const QMetaMethod signal) Description: Virtual method void QAbstractTransition::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = nullptr) Description: Emitter for signal void QAbstractTransition::destroyed(QObject *) Call this method to emit this signal. |
emit_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QAbstractTransition::objectNameChanged(const QString &objectName) Call this method to emit this signal. |
emit_targetStateChanged | Signature: void emit_targetStateChanged Description: Emitter for signal void QAbstractTransition::targetStateChanged() Call this method to emit this signal. |
emit_targetStatesChanged | Signature: void emit_targetStatesChanged Description: Emitter for signal void QAbstractTransition::targetStatesChanged() Call this method to emit this signal. |
emit_triggered | Signature: void emit_triggered Description: Emitter for signal void QAbstractTransition::triggered() Call this method to emit this signal. |
event | Signature: bool event (QEvent ptr e) Description: Virtual method bool QAbstractTransition::event(QEvent *e) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr watched, QEvent ptr event) Description: Virtual method bool QAbstractTransition::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. |
eventTest | Signature: bool eventTest (QEvent ptr event) Description: Virtual method bool QAbstractTransition::eventTest(QEvent *event) This method can be reimplemented in a derived class. |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QAbstractTransition::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
machine | Signature: [const] QStateMachine ptr machine Description: Method QStateMachine *QAbstractTransition::machine() |
new | Signature: [static] new QAbstractTransition new (QState ptr sourceState = nullptr) Description: Constructor QAbstractTransition::QAbstractTransition(QState *sourceState) This method creates an object of class QAbstractTransition. Python specific notes: |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QAbstractTransition::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
onTransition | Signature: void onTransition (QEvent ptr event) Description: Virtual method void QAbstractTransition::onTransition(QEvent *event) This method can be reimplemented in a derived class. |
receivers | Signature: [const] int receivers (string signal) Description: Method int QAbstractTransition::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
removeAnimation | Signature: void removeAnimation (QAbstractAnimation ptr animation) Description: Method void QAbstractTransition::removeAnimation(QAbstractAnimation *animation) |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QAbstractTransition::sender() This method is protected and can only be called from inside a derived class. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QAbstractTransition::senderSignalIndex() This method is protected and can only be called from inside a derived class. |
setTargetState | Signature: void setTargetState (QAbstractState ptr target) Description: Method void QAbstractTransition::setTargetState(QAbstractState *target) Python specific notes: |
setTargetStates | Signature: void setTargetStates (QAbstractState ptr[] targets) Description: Method void QAbstractTransition::setTargetStates(const QList<QAbstractState*> &targets) Python specific notes: |
setTransitionType | Signature: void setTransitionType (const QAbstractTransition_TransitionType type) Description: Method void QAbstractTransition::setTransitionType(QAbstractTransition::TransitionType type) Python specific notes: |
sourceState | Signature: [const] QState ptr sourceState Description: Method QState *QAbstractTransition::sourceState() Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
targetState | Signature: [const] QAbstractState ptr targetState Description: Method QAbstractState *QAbstractTransition::targetState() Python specific notes: |
targetState= | Signature: void targetState= (QAbstractState ptr target) Description: Method void QAbstractTransition::setTargetState(QAbstractState *target) Python specific notes: |
targetStateChanged | Signature: [signal] void targetStateChanged Description: Signal declaration for QAbstractTransition::targetStateChanged() You can bind a procedure to this signal. Python specific notes: |
targetStates | Signature: [const] QAbstractState ptr[] targetStates Description: Method QList<QAbstractState*> QAbstractTransition::targetStates() Python specific notes: |
targetStates= | Signature: void targetStates= (QAbstractState ptr[] targets) Description: Method void QAbstractTransition::setTargetStates(const QList<QAbstractState*> &targets) Python specific notes: |
targetStatesChanged | Signature: [signal] void targetStatesChanged Description: Signal declaration for QAbstractTransition::targetStatesChanged() You can bind a procedure to this signal. Python specific notes: |
timerEvent | Signature: void timerEvent (QTimerEvent ptr event) Description: Virtual method void QAbstractTransition::timerEvent(QTimerEvent *event) This method can be reimplemented in a derived class. |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QAbstractTransition::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 QAbstractTransition::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |
transitionType | Signature: [const] QAbstractTransition_TransitionType transitionType Description: Method QAbstractTransition::TransitionType QAbstractTransition::transitionType() Python specific notes: |
transitionType= | Signature: void transitionType= (const QAbstractTransition_TransitionType type) Description: Method void QAbstractTransition::setTransitionType(QAbstractTransition::TransitionType type) Python specific notes: |
triggered | Signature: [signal] void triggered Description: Signal declaration for QAbstractTransition::triggered() You can bind a procedure to this signal. Python specific notes: |