IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

SignalEvent Class

The SignalEvent class represents a Qt signal event.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

SignalEvent Class

  • Header: SignalEvent

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS StateMachine)

    target_link_libraries(mytarget PRIVATE Qt6::StateMachine)

  • qmake: QT += statemachine

  • Inherits: QEvent

  • Group: SignalEvent is part of statemachine

Detailed Description

A signal event is generated by a QStateMachine in response to a Qt signal. The QSignalTransition class provides a transition associated with a signal event. QStateMachine::SignalEvent is part of Qt State Machine Framework.

The sender() function returns the object that generated the signal. The signalIndex() function returns the index of the signal. The arguments() function returns the arguments of the signal.

See Also

Member Function Documentation

 

[virtual] SignalEvent::~SignalEvent()

Destroys this SignalEvent.

QList<QVariant> SignalEvent::arguments() const

Returns the arguments of the signal.

QObject *SignalEvent::sender() const

Returns the object that emitted the signal.

See Also

See also QObject::sender()

int SignalEvent::signalIndex() const

Returns the index of the signal.

See Also

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+